theme: dark mode + theme tokens (parity with web-at-transit)

- 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
This commit is contained in:
Bkk1234 committed 2026-11-04 01:29:37 +07:00
1 parent bea8f0773e
commit cdfd77ffff
18 files changed
+742 -329

No files matched your search

+1 -1
View File
@@ -1 +1 @@
{"version": "2026.09.27.109"}
{"version": "2026.09.27.115"}