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:
1 parent
57497fff45
commit
6871eb7b32
4 files changed
+12
-12
No files matched your search
@@ -10,15 +10,15 @@
|
||||
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 bg-ep-primary-dark uppercase font-bold leading-none text-xl">
|
||||
<span class="block text-center text-white bg-ep-primary-dark sbw:bg-sbw-primary snz:bg-snz-primary suz:bg-suz-primary uch:bg-uch-primary uppercase font-bold leading-none text-xl">
|
||||
{badge.title -> f:format.raw()}
|
||||
</span>
|
||||
<f:if condition="{badge.subtitle}">
|
||||
<span class="block text-center text-white bg-ep-primary-dark uppercase font-bold leading-none">
|
||||
<span class="block text-center text-white bg-ep-primary-dark sbw:bg-sbw-primary snz:bg-snz-primary suz:bg-suz-primary uch:bg-uch-primary uppercase font-bold leading-none">
|
||||
{badge.subtitle -> f:format.raw()}
|
||||
</span>
|
||||
</f:if>
|
||||
|
||||
Reference in new issue
Block a user