From 85df32503f5c2872f3e94ce43d200c293ce43f5e Mon Sep 17 00:00:00 2001 From: left23 Date: Mon, 20 Nov 2023 15:25:17 +0100 Subject: [PATCH] chore: create patch that removed logo from common_design base theme, add to patches file Refs: CD-519 --- PATCHES/common_design--default-logo-remove.patch | 14 ++++++++++++++ composer.patches.json | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 PATCHES/common_design--default-logo-remove.patch diff --git a/PATCHES/common_design--default-logo-remove.patch b/PATCHES/common_design--default-logo-remove.patch new file mode 100644 index 000000000..c69656ece --- /dev/null +++ b/PATCHES/common_design--default-logo-remove.patch @@ -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. */ diff --git a/composer.patches.json b/composer.patches.json index eaa372897..d024cbdec 100644 --- a/composer.patches.json +++ b/composer.patches.json @@ -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",