From 6871eb7b32d233a383ce68319708db06c7ec4667 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Fromme?= Date: Thu, 12 Nov 2026 14:04:57 +0100 Subject: [PATCH] fix: header badges use the site's primary color The custom badge in the header slider, small header slider, subpage header and badge partials was always drawn in the E&P blue. It now uses the site's primary color on SBW, SnowZone, SUZ and UniChamp, matching the badge in the event hero. Co-Authored-By: Claude Opus 5.5 --- packages/ep_theme/Resources/Private/Partials/Badge.html | 8 ++++---- .../ep_theme/Resources/Private/Partials/HeaderSlider.html | 8 ++++---- .../Resources/Private/Partials/HeaderSliderSmall.html | 4 ++-- .../Resources/Private/Partials/SubpageHeader.html | 4 ++-- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/ep_theme/Resources/Private/Partials/Badge.html b/packages/ep_theme/Resources/Private/Partials/Badge.html index 73bf15e..80371dd 100644 --- a/packages/ep_theme/Resources/Private/Partials/Badge.html +++ b/packages/ep_theme/Resources/Private/Partials/Badge.html @@ -10,15 +10,15 @@ xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" class="w-full h-full"> - - + +
- + {badge.title -> f:format.raw()} - + {badge.subtitle -> f:format.raw()} diff --git a/packages/ep_theme/Resources/Private/Partials/HeaderSlider.html b/packages/ep_theme/Resources/Private/Partials/HeaderSlider.html index 5097109..788b3ad 100644 --- a/packages/ep_theme/Resources/Private/Partials/HeaderSlider.html +++ b/packages/ep_theme/Resources/Private/Partials/HeaderSlider.html @@ -62,13 +62,13 @@ xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" class="w-full h-full"> - - + +
- {badgeData.title -> f:format.raw()} + {badgeData.title -> f:format.raw()} - {badgeData.subtitle -> f:format.raw()} + {badgeData.subtitle -> f:format.raw()}
diff --git a/packages/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html b/packages/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html index a1b96f3..1ba2ca6 100644 --- a/packages/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html +++ b/packages/ep_theme/Resources/Private/Partials/HeaderSliderSmall.html @@ -53,8 +53,8 @@ xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" class="w-full h-full"> - - + +
{badgeData.title -> f:format.raw()} diff --git a/packages/ep_theme/Resources/Private/Partials/SubpageHeader.html b/packages/ep_theme/Resources/Private/Partials/SubpageHeader.html index d90d4c4..fd88f9e 100644 --- a/packages/ep_theme/Resources/Private/Partials/SubpageHeader.html +++ b/packages/ep_theme/Resources/Private/Partials/SubpageHeader.html @@ -48,8 +48,8 @@ xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" class="w-full h-full"> - - + +
{badgeData.title -> f:format.raw()}