Public site: readable text on brand-coloured buttons

Hero, Shop, Checkout, checkout-return and the header logo fallback used
white text on the site Primary; on a light Primary that was unreadable.
They now use primary-content (auto-contrast, see $shared/theme).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv
This commit is contained in:
agent 2026-10-06 12:06:05 +00:00
parent cd66d61f6f
commit 3308f2f85f
4 changed files with 8 additions and 8 deletions

View file

@ -46,7 +46,7 @@
{#if header.logo?.url}
<img class="h-10 w-10 shrink-0 rounded-full object-cover md:h-12 md:w-12" src={header.logo.url} alt={header.logo.alt || ''} />
{:else}
<span class="grid h-10 w-10 shrink-0 place-items-center rounded-full bg-sage text-lg font-bold text-white md:h-12 md:w-12">ES</span>
<span class="grid h-10 w-10 shrink-0 place-items-center rounded-full bg-sage text-lg font-bold text-primary-content md:h-12 md:w-12">ES</span>
{/if}
<span class="truncate font-serif text-lg font-bold md:text-xl">Eva Shafik</span>
</a>