From 3308f2f85f5a0fc3bb08ca8b521114f8920ef351 Mon Sep 17 00:00:00 2001 From: agent Date: Tue, 6 Oct 2026 12:06:05 +0000 Subject: [PATCH] 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 Claude-Session: https://claude.ai/code/session_01KgF3Kf47LjPGHKQHszpUAv --- app-public/src/lib/components/Header.svelte | 2 +- app-public/src/routes/checkout/return/+page.svelte | 8 ++++---- packages/shared/src/blocks/CheckoutBlock.svelte | 4 ++-- packages/shared/src/blocks/HeroBlock.svelte | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/app-public/src/lib/components/Header.svelte b/app-public/src/lib/components/Header.svelte index 2ff12ed..69caf2d 100644 --- a/app-public/src/lib/components/Header.svelte +++ b/app-public/src/lib/components/Header.svelte @@ -46,7 +46,7 @@ {#if header.logo?.url} {header.logo.alt {:else} - ES + ES {/if} Eva Shafik diff --git a/app-public/src/routes/checkout/return/+page.svelte b/app-public/src/routes/checkout/return/+page.svelte index b09b23d..15f9406 100644 --- a/app-public/src/routes/checkout/return/+page.svelte +++ b/app-public/src/routes/checkout/return/+page.svelte @@ -25,7 +25,7 @@
{#if data.state === 'paid' && data.order} -
✓
+
✓

Thank you, {data.order.customerDetails?.name || 'friend'}!

Your booking is confirmed. A receipt was sent to {data.order.email}. @@ -51,7 +51,7 @@ - Book another + Book another {:else if data.state === 'processing'}

Processing your payment…

@@ -63,10 +63,10 @@ {:else if data.state === 'canceled' || data.state === 'failed'}

Payment not completed

Your payment didn't go through — no money was captured. Please try again.

- Back to the shop + Back to the shop {:else}

Nothing to see here

This link is missing a payment reference.

- Back to the shop + Back to the shop {/if}
diff --git a/packages/shared/src/blocks/CheckoutBlock.svelte b/packages/shared/src/blocks/CheckoutBlock.svelte index 5a9b4cb..bd12b04 100644 --- a/packages/shared/src/blocks/CheckoutBlock.svelte +++ b/packages/shared/src/blocks/CheckoutBlock.svelte @@ -347,7 +347,7 @@ {#if payState === 'idle' || payState === 'creating'}