Status: done (2026-11-22) Priority: 2 Size: M Design ref: Kim, 22 November; VB-1161 Goal: No theme has to undo another: the base stylesheet holds what every theme shares, and Glass’s own look sits under its own theme. Acceptance criteria:
data-theme="glass" is the default, set in the markup and by applyTheme (src/page/options.js); no theme is “no attribute”.prefers-color-scheme) sits under :root[data-theme="glass"] or in tokens Glass sets; the base stylesheet holds layout and what every theme shares.backdrop-filter: none, box-shadow: none, border: 0, background: none where they cancel a Glass rule; 17 counted on 22 November) are gone, each one or the reason it stays listed in the notes.tests/page.js follows (the default is glass, not an absent attribute); npm run verify, node tests/page.js and node tests/smoke.js green.Kim asked on 22 November for theming to be made simple, the interface only: the map’s art is not part of it. Order: VB-1529, then VB-1530, then VB-1531 and VB-1532; VB-1533 beside them. Edit src/head.html and src/page/options.js only where this task needs: VB-1533 works in the icons’ rules (.ico, .i-line, .i-sten) and src/page/icons.js at the same time, so leave those alone.
Done (VB-1529). Glass’s own declarations are split off in place as :where(:root[data-theme="glass"]) X, right after the base rule they left: same specificity, same order, so Glass’s cascade is unchanged by construction. Moved: .panel hairline border, blur and shadow; .pin b blur; the pale grounds of .loader .bar, .supply-nums, .pchip; .roster’s hairline; the ink and gold bars of .meter > b and .mark-key b; the dark palette now under :root[data-theme="glass"]. The light palette stays the root’s default tokens (VB-1530 widens them).
Mural, 15 undoing declarations gone: .panel border 0 and backdrop none; .pin b backdrop none; background none on .meter > b (3 rules), .mark-key b (2), .loader .bar, .supply-nums, .pchip; .roster border-top 0; and three that already did nothing (.navigation button border 0, base has it; .person pressed and hover background none, beaten by Mural’s own .person).
Kept, as they cancel Mural’s own rules, not Glass’s: :is(.navigation, .map-bar, .act-bar) background, border, shadow (Mural’s band on .panel); background none on .navigation button, .act-row, and .person border 0 and background none (Mural’s scroll on every button).
Left shared: shadows and the blur that Mural inherits without undoing (body.ui-hidden #uiToggle, the round map buttons, the mobile sheets’ shadows): moving them would change Mural’s look.
Look: 18 screenshots (menu, Options, choice of whom to play, household card, household card with the action menu open, village card; Glass light, Glass dark, Mural; 1440 by 900, the canvases hidden, populous seed 7 small map) identical by pixel before and after; one region of 74 px differed between two runs of the same build and matches the second run exactly.