refactor(dashboard): replace new CSS tokens with existing equivalents
Some checks failed
CI / Unit & Component Tests (pull_request) Failing after 4m0s
CI / OCR Service Tests (pull_request) Successful in 32s
CI / Backend Unit Tests (pull_request) Failing after 3m21s
CI / Unit & Component Tests (push) Has been cancelled
CI / OCR Service Tests (push) Has been cancelled
CI / Backend Unit Tests (push) Has been cancelled

mint-soft → accent-bg, line-soft → line-2, link-quiet → ink-2,
ink-4 removed (was never applied to any element).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit was merged in pull request #484.
This commit is contained in:
Marcel
2026-05-08 23:12:36 +02:00
parent d464bca9f3
commit 7c2c4741ab
7 changed files with 11 additions and 35 deletions

View File

@@ -80,12 +80,6 @@
/* Static brand tokens (not themed) */
--color-brand-navy: var(--palette-navy);
--color-brand-mint: var(--palette-mint);
/* Reader dashboard tokens */
--color-mint-soft: var(--c-mint-soft); /* Mint-Pill background */
--color-line-soft: var(--c-line-soft); /* Stat-column dividers, row borders */
--color-link-quiet: var(--c-link-quiet); /* "Alle …" secondary links */
--color-ink-4: var(--c-ink-4); /* Card-head labels (light = ink-3, dark = #7080a8) */
}
/* ─── 4. Light mode (default) ─────────────────────────────────────────────── */
@@ -166,12 +160,6 @@
with axe (tracked in #480) before tweaking the palette. */
--timeline-bar-idle: rgba(161, 220, 216, 0.35);
--timeline-bar-outside: var(--c-line);
/* Reader dashboard tokens — light mode */
--c-mint-soft: #d4f0ee; /* Mint-Pill BG — decorative fill (1.1:1 on white, WCAG carve-out) */
--c-line-soft: #f0ede6; /* Stat-column dividers, card row separator */
--c-link-quiet: #4a6e8a; /* Quiet link — 4.65:1 on #f0efe9 canvas WCAG AA ✓ */
--c-ink-4: #6b7280; /* Card-head labels (= ink-3 in light) */
}
/* ─── 5. Dark mode ─────────────────────────────────────────────────────────── */
@@ -248,12 +236,6 @@
clears WCAG 1.4.11 non-text contrast for large UI elements. */
--timeline-bar-idle: #3a6e8c;
--timeline-bar-outside: #1a2735;
/* Reader dashboard tokens — dark mode */
--c-mint-soft: rgba(161, 218, 216, 0.14);
--c-line-soft: rgba(255, 255, 255, 0.06);
--c-link-quiet: var(--palette-mint);
--c-ink-4: #7080a8; /* 5.0:1 on #011526 WCAG AA ✓ */
}
}
@@ -326,12 +308,6 @@
clears WCAG 1.4.11 non-text contrast for large UI elements. */
--timeline-bar-idle: #3a6e8c;
--timeline-bar-outside: #1a2735;
/* Reader dashboard tokens — dark mode */
--c-mint-soft: rgba(161, 218, 216, 0.14);
--c-line-soft: rgba(255, 255, 255, 0.06);
--c-link-quiet: var(--palette-mint);
--c-ink-4: #7080a8; /* 5.0:1 on #011526 WCAG AA ✓ */
}
/* ─── 6. Icon inversion — De Gruyter icons are black SVGs loaded as <img> ──── */