- theme.css: form controls inherit color-scheme per theme, and explicit
dark/light overrides so the native <option> popup is not white-on-white;
option/optgroup use --c-surface/--c-ink, :checked uses the purple tint
- _shared.css: .mu-pop-panel/.mu-pop-item/.mu-pop-btn carry token fallbacks so
the theme/lang menus stay readable even if tokens are missing (stale cache)
- VERSION 2026.09.27.128
- ui/theme.css: token set copied value-for-value from the Next app
(--c-surface/-ink/-border/-brand/-tint/-glass + radius), light and dark blocks
- ui/theme.js: 3-mode switch (light / dark / auto=prefers-color-scheme) with a
header dropdown, aria-haspopup/menu, Esc/outside close, live matchMedia listener
- index.html: pre-paint theme script (no flash), theme.css link before _shared.css
- remapped ~290 literal colours in _shared.css/index.html/partials to var(--c-*)
so both projects render from the same tokens; dark patch block covers the
remaining decorative gradients
- DESIGN.md: new section 3.2 (theme tokens + where to add colours)
- VERSION 2026.09.27.114