- theme.js: icon SVGs now carry width/height 18 (sun / moon / monitor) so the
icon renders inside the 40px button and switches with the mode
- .mu-topbar-tools { order: 2 } — the CTA now sits right after the credits link
and the theme/lang tools move to the far right, same visual order as
web-at-transit (CTA 1144-1273 vs tools 1291-1405 at 1600px)
- icon sizing scoped (#theme-icon svg) so the language chevron stays 12px;
lang button back to 59px, tools 107px == Next
- VERSION 2026.09.27.123
- markup: lang + theme moved into .mu-topbar-tools (theme first, then lang),
same order as web-at-transit: brand, nav, menu, tools, CTA
- CSS: replaced mock's .mu-lang-*/.mu-theme-* buttons with the Next rules
(.mu-pop / .mu-pop-btn / .mu-pop-btn-lang / .mu-pop-panel / .mu-pop-item,
40px tall, radius 8px, surface bg, 44px on coarse pointers)
- lang button keeps short label + 12px chevron; menu items use
.mu-pop-item-th/.mu-pop-item-en and data-active for the selected row
- nav 0.95rem (was .92rem), header border -> var(--c-border)
- theme.js was never included in the shell (regex missed the versioned src) —
added after i18n.js + precached with theme.css; that was why the theme menu
did not open in the previous build
- VERSION 2026.09.27.120
- 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