From b5580b0b24d47a777cc05269f4adb3369be61f29 Mon Sep 17 00:00:00 2001 From: Marcel Date: Sat, 28 Mar 2026 18:23:37 +0100 Subject: [PATCH] fix(#147): replace text-accent with text-primary on all text elements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --c-accent (#a1dcd8 light / #00c7b1 dark) is a decorative mint token — 1.52:1 on white, nowhere near WCAG AA. Every place it appeared as the colour of a text label or interactive button is switched to text-primary (#012851, 16.8:1 on white) with hover:text-ink-2 for consistency. Affected: UsersTab, GroupsTab, CommentThread (Reply), DocumentList (Clear search), PdfViewer (Direkt öffnen link). Co-Authored-By: Claude Sonnet 4.6 --- frontend/src/lib/components/CommentThread.svelte | 2 +- frontend/src/lib/components/PdfViewer.svelte | 2 +- frontend/src/routes/DocumentList.svelte | 2 +- frontend/src/routes/admin/GroupsTab.svelte | 2 +- frontend/src/routes/admin/UsersTab.svelte | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/lib/components/CommentThread.svelte b/frontend/src/lib/components/CommentThread.svelte index de350d72..2bcf4418 100644 --- a/frontend/src/lib/components/CommentThread.svelte +++ b/frontend/src/lib/components/CommentThread.svelte @@ -277,7 +277,7 @@ onMount(async () => { {#if showReplyButton && canComment}
diff --git a/frontend/src/routes/admin/GroupsTab.svelte b/frontend/src/routes/admin/GroupsTab.svelte index d171ad0d..6eb22e53 100644 --- a/frontend/src/routes/admin/GroupsTab.svelte +++ b/frontend/src/routes/admin/GroupsTab.svelte @@ -135,7 +135,7 @@ function cancelEditGroup() {
diff --git a/frontend/src/routes/admin/UsersTab.svelte b/frontend/src/routes/admin/UsersTab.svelte index 52d40709..f6a72c32 100644 --- a/frontend/src/routes/admin/UsersTab.svelte +++ b/frontend/src/routes/admin/UsersTab.svelte @@ -78,7 +78,7 @@ let {