Files
Zakk 9963c848c0 fix(lite): make dark mode readable
Several lite surfaces kept their light colours or fell below 4.5:1 in dark
mode: secondary text in segmented choices (4.27:1), input borders
(1.93:1), white text on red buttons (3.76:1), added lines in the config
diff (3.78:1), and CodeMirror's black cursor, search panel and match
highlights. The site theme now sets light-dark() values for these in
modeTokens.css; light mode renders pixel-identical in 208 of 209 shots
(one 28-pixel antialiasing difference).

check-ui rejects raw colour literals outside src/themes, and
scripts/dark-mode.cjs checks cursor, search, input contrast, first paint
and route switches in dark and system modes.
2026-10-26 23:57:00 +11:00
..
2026-10-26 23:57:00 +11:00