fix(documents): bump dark-mode timeline bar contrast to 3.33:1 (#385)

Previous #0d3358 measured 1.44:1 against the dark surface (#011526),
failing WCAG 1.4.11 (Non-text Contrast) for large UI elements.
#3a6e8c clears 3:1 with 3.33:1 while staying in the navy palette.
Closes Leonie's dark-mode contrast finding.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Marcel
2026-05-08 09:59:29 +02:00
parent c06987da95
commit 61d1c1793b

View File

@@ -358,7 +358,9 @@ const omitTickYear = $derived.by(() => {
}
:global(.dark) {
--timeline-bar-idle: #0d3358;
/* 3.33:1 against --c-surface (#011526) — clears WCAG 1.4.11 non-text contrast
for large UI elements; previous #0d3358 measured 1.44:1. */
--timeline-bar-idle: #3a6e8c;
--timeline-bar-outside: #1a2735;
}