fix(#147): replace text-accent with text-primary on all text elements

--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 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-03-28 18:23:37 +01:00
parent 4c3d253066
commit b5580b0b24
5 changed files with 5 additions and 5 deletions

View File

@@ -277,7 +277,7 @@ onMount(async () => {
{#if showReplyButton && canComment}
<div class="mt-1">
<button
class="font-sans text-xs font-medium text-accent transition-colors hover:text-ink"
class="font-sans text-xs font-medium text-primary transition-colors hover:text-ink-2"
onclick={() => startReply(threadId)}
>
{m.comment_btn_reply()}

View File

@@ -297,7 +297,7 @@ function zoomOut() {
href={url}
target="_blank"
rel="noopener noreferrer"
class="font-sans text-xs text-accent underline hover:opacity-80"
class="font-sans text-xs text-primary underline hover:text-ink-2"
>
Direkt öffnen
</a>

View File

@@ -168,7 +168,7 @@ let {
</p>
<button
onclick={() => goto('/')}
class="mt-6 text-sm font-bold tracking-wide text-accent uppercase transition hover:text-ink"
class="mt-6 text-sm font-bold tracking-wide text-primary uppercase transition hover:text-ink-2"
>
{m.docs_empty_btn_clear()}
</button>

View File

@@ -135,7 +135,7 @@ function cancelEditGroup() {
<div class="flex items-center justify-end gap-3">
<button
onclick={() => startEditGroup(group.id)}
class="text-sm font-bold tracking-wide text-accent uppercase hover:text-ink"
class="text-sm font-bold tracking-wide text-primary uppercase hover:text-ink-2"
>
{m.btn_edit()}
</button>

View File

@@ -78,7 +78,7 @@ let {
<div class="flex items-center justify-end gap-4">
<a
href="/admin/users/{user.id}"
class="text-sm font-bold tracking-wide text-accent uppercase hover:text-ink"
class="text-sm font-bold tracking-wide text-primary uppercase hover:text-ink-2"
>
{m.btn_edit()}
</a>