dorfteich/apps/web/src/theme
Claude Fable 5 4e0ad82220
Some checks failed
CI / Lint, typecheck, test (pull_request) Successful in 4m41s
CI / Build container images (pull_request) Successful in 3m57s
CI / Auth e2e pack (pull_request) Failing after 5m26s
CI / Import/export fidelity gate (pull_request) Has been skipped
#180: dark-mode test fence, both-scheme a11y pack, theme e2e, ADR 0018
theme-contrast.test.ts parses tokens.css and asserts every real UI colour
pairing (4.5:1 text, 3:1 UI) for BOTH palettes, so palette drift fails
unit tests instead of review. theme.test.ts covers resolve/apply logic
(Node >= 22 ships a shadowing undefined localStorage global — the test
brings its own in-memory storage). The a11y pack now runs its four scans
in light AND dark via emulateMedia; the new theme pack exercises the
three-way switch end to end (instant apply, reload persistence, live OS
follow in system mode, override beats OS). ADR 0018 records the theming
model broadly: modes now, accent themes by derivation later.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QRtCnB3uLdQtFmvp9HXcRX
2026-07-28 20:46:25 +02:00
..
theme-contrast.test.ts #180: dark-mode test fence, both-scheme a11y pack, theme e2e, ADR 0018 2026-07-28 20:46:25 +02:00
theme.test.ts #180: dark-mode test fence, both-scheme a11y pack, theme e2e, ADR 0018 2026-07-28 20:46:25 +02:00
theme.ts #180: dark mode — Light/Dark/System setting with token-based dark palette 2026-07-28 20:40:47 +02:00