From 55e3e4c531545bfe28ed2e82a56e45ae24e95d96 Mon Sep 17 00:00:00 2001 From: Marcel Date: Tue, 9 Jun 2026 08:04:04 +0200 Subject: [PATCH] fix(a11y): darken journey badge text from #b46820 to #7a3f0e for WCAG AA MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previous #b46820 on #fef0e6 = 3.81:1 — fails 4.5:1 required for text-xs (12px normal text). #7a3f0e on #fef0e6 = 7.4:1 — passes WCAG AAA. Dark-mode #e8862a on #3a2a1a = 5.16:1 — already passing, unchanged. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/layout.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/routes/layout.css b/frontend/src/routes/layout.css index 0c31ddb2..8990d355 100644 --- a/frontend/src/routes/layout.css +++ b/frontend/src/routes/layout.css @@ -134,9 +134,9 @@ --c-parchment: #faf8f1; /* Journey / Lesereise — orange semantic tokens - Text #B46820 on bg #FEF0E6 ≈ 4.6:1 — WCAG AA ✓ at 12px bold (normal-text threshold) */ + Text #7A3F0E on bg #FEF0E6 ≈ 7.4:1 — WCAG AAA ✓ (text-xs requires 4.5:1 normal-text) */ --c-journey-bg: #fef0e6; - --c-journey-text: #b46820; + --c-journey-text: #7a3f0e; --c-journey-border: #f0c99a; /* Tag color tokens — decorative dot colors on tag chips */ @@ -259,7 +259,7 @@ --c-gutter-stripe: rgba(161, 220, 216, 0.14); /* Journey / Lesereise — muted warm tint on dark navy; text #E8862A on - #3A2A1A ≈ 4.7:1 — WCAG AA ✓ at 12px bold (normal-text threshold) */ + #3A2A1A ≈ 5.2:1 — WCAG AA ✓ (text-xs requires 4.5:1 normal-text) */ --c-journey-bg: #3a2a1a; --c-journey-text: #e8862a; --c-journey-border: #7a4a1e;