From e28cd039534f07865f1bfa9953473edc68a25041 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 28 Mar 2026 18:24:45 +0100 Subject: [PATCH] fix(#147): replace text-ink/60 with text-ink-2 and add accent token guard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit text-ink/60 produces an opacity-blended colour whose contrast is background-dependent: it passes on white (4.8:1) but fails on the sandy canvas #f0efe9 (3.97:1, below WCAG AA 4.5:1). Replace every occurrence with text-ink-2 (#4b5563, 6.6:1 on canvas — WCAG AA ✓). Also adds a warning comment above --c-accent in layout.css to prevent the text-accent misuse from recurring. Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/routes/DocumentList.svelte | 2 +- frontend/src/routes/conversations/+page.svelte | 2 +- .../src/routes/conversations/ConversationTimeline.svelte | 2 +- frontend/src/routes/layout.css | 5 ++++- frontend/src/routes/persons/+page.svelte | 4 ++-- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/frontend/src/routes/DocumentList.svelte b/frontend/src/routes/DocumentList.svelte index 71994e15..38ce333e 100644 --- a/frontend/src/routes/DocumentList.svelte +++ b/frontend/src/routes/DocumentList.svelte @@ -28,7 +28,7 @@ let { {#if canWrite}

{m.conv_heading()}

-

+

{m.conv_subtitle()}

diff --git a/frontend/src/routes/conversations/ConversationTimeline.svelte b/frontend/src/routes/conversations/ConversationTimeline.svelte index c1cac55f..6fc8bc56 100644 --- a/frontend/src/routes/conversations/ConversationTimeline.svelte +++ b/frontend/src/routes/conversations/ConversationTimeline.svelte @@ -57,7 +57,7 @@ const enrichedDocuments = $derived(

{m.persons_heading()}

-

+

{m.persons_subtitle()}

{#if data.canWrite}