Status: done (2026-11-18) Priority: 2 Size: M Design ref: AGENTS.md, Deciding without Kim, 15 (like is shown alike); Kim, 18 November (the mock-ups of the session) Goal: The interface can be drawn in the map’s own style, chosen by the player and kept on the device. Acceptance criteria:
vb.theme), for every game on the device, and is no part of st or a save.data-theme="mural" on the root.tests/page.js: Options opens, Mural is set and kept, Glass takes it off, Options closes back to the menu.Kim, 18 November, on two rounds of mock-ups (a session’s scratch files, not committed): the interface is drawn in another style than the map and pawns (the map is “a church mural”: flat pigment in a dark contour, on mottled plaster); of three variations of each piece Kim chose the B set throughout: stencil icons (one pigment, the parts held apart by gaps), the vault band (lime plaster between two sawtooth borders) with its head in black letter (Grenze Gotisch), ringed medallions for buttons, counted beads for the meter, the medallion with its name on a scroll for a person’s row. A trait’s small meter is five beads (Kim: the same meter everywhere, principle 15). The theme is chosen in Options, from the main menu, and kept in localStorage; Glass stays the default until Mural covers every screen (Kim).
The theme’s grammar, which the tasks that follow keep to (principle 15):
src/page/options.js (new, in src/page.json after saves.js): the theme, read from localStorage at load and set as data-theme on
the root (Glass sets none), the Options screen and its radio group (click, arrows, Esc).src/body.html: the menu’s Options entry; #optionsScreen, with the saves overlay’s class so it sits and scrolls as Saves does.src/head.html: Grenze Gotisch added to the fonts; the Options styles; the mural theme, as rules under :root[data-theme="mural"] at
the stylesheet’s end. The generic button rule is under :where(), so it only replaces the base button rule and every more specific
button (the link-like ones that reset border and background) is left as it was. The band is drawn as background layers, not pseudo
elements, so it needs nothing of a panel’s position or overflow.src/page/meter.js: the meter’s span carries --lo and --hi, where its fill starts and ends; the beads are a full-width fill
masked to ten rounds and clipped to that span, so the signed meter and the part-filled bead need no other markup.Decisions (Deciding without Kim, 12: tooling and presentation within what Kim chose):
src/page/icons.js, some ninety): today’s line icons are shown in red ochre meanwhile.npm test and npm run verify green; node tests/page.js holds the new check; node tests/smoke.js and node tests/browser-saves.js
(the landing) run by hand. Screenshots of the game screen, the action menu, whom to play and Options in the theme were looked at in
Chromium at 1440 by 900. No simulation code is touched: no numbers to report.