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 <[email protected]>
This commit is contained in:
frommeandClaude Opus 5.5 committed 2026-11-12 14:04:57 +01:00
1 parent 57497fff45
commit 6871eb7b32
4 files changed
+12 -12

No files matched your search

@@ -53,8 +53,8 @@
xmlns="http://www.w3.org/2000/svg"
preserveAspectRatio="xMinYMin meet"
class="w-full h-full">
<circle fill="currentColor" class="text-ep-primary-dark/50" cx="100" cy="100" r="100"/>
<circle fill="currentColor" class="text-ep-primary-dark" cx="100" cy="100" r="70"/>
<circle fill="currentColor" class="text-ep-primary-dark/50 sbw:text-sbw-primary/50 snz:text-snz-primary/50 suz:text-suz-primary/50 uch:text-uch-primary/50" cx="100" cy="100" r="100"/>
<circle fill="currentColor" class="text-ep-primary-dark sbw:text-sbw-primary snz:text-snz-primary suz:text-suz-primary uch:text-uch-primary" cx="100" cy="100" r="70"/>
</svg>
<div class="absolute top-0 left-0 inset-0 flex flex-col items-center justify-center p-8">
<span class="block text-center text-white uppercase font-bold leading-none text-xl">{badgeData.title -> f:format.raw()}</span>