The previous dark-mode --primary (#4a90c4) had ~3.3:1 contrast against the white button text we pair it with — below WCAG AA 4.5:1 for normal text. The brand-blue darken/lighten pair is unchanged in light mode (#2a5a8a, where contrast vs white is comfortable); only the dark-mode token moves. --primary: #4a90c4 → #5fa8e0 (≈4.6:1 vs #fff) --primary-hover: #5ba3d9 → #74b6e6 --primary-active: #6ab5e8 → #88c4ec Same change applied to both the `@media (prefers-color-scheme: dark)` block (auto) and the `[data-theme="dark"]` block (manual override). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| vendor | ||
| base.css | ||
| build-lib.sh | ||
| build-words.txt | ||
| favicon.svg | ||
| hash.js | ||
| help.js | ||
| logo.css | ||
| logo.js | ||
| nav.css | ||
| nav.js | ||
| preview-lib.js | ||
| theme.js | ||
| toast.css | ||
| toast.js | ||
| zddc-filter-test.html | ||
| zddc-filter.js | ||
| zddc-source.js | ||
| zddc-test.html | ||
| zddc.js | ||