Skip to content

Commit

Permalink
chore: create patch that removed logo from common_design base theme, …
Browse files Browse the repository at this point in the history
…add to patches file

Refs: CD-519
  • Loading branch information
left23 committed Nov 20, 2023
1 parent fe7da76 commit 85df325
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
14 changes: 14 additions & 0 deletions PATCHES/common_design--default-logo-remove.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/components/cd/cd-header/cd-logo.css b/components/cd/cd-header/cd-logo.css
index b8e7821..c7b7d96 100644
--- a/components/cd/cd-header/cd-logo.css
+++ b/components/cd/cd-header/cd-logo.css
@@ -14,9 +14,6 @@
float: left;
width: var(--brand-logo-mobile-width, 52px);
height: var(--cd-site-header-height);
- background:
- linear-gradient(transparent, transparent),
- url(../../../img/logos/ocha-logo-blue.svg) center no-repeat;
}

/* Mobile: Hides logo set in info.yml in favour of background image. */
3 changes: 3 additions & 0 deletions composer.patches.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"patches": {
"unocha/common_design": {
"https://humanitarian.atlassian.net/browse/CD-519": "PATCHES/common_design--default-logo-remove.patch"
},
"drupal/core" : {
"https://www.drupal.org/project/drupal/issues/3047110": "PATCHES/core--drupal--3047110-taxonomy-term-moderation-class.patch",
"https://www.drupal.org/project/drupal/issues/3008292": "PATCHES/core--drupal--3008292-image-upload-validators.patch",
Expand Down

0 comments on commit 85df325

Please sign in to comment.