Status: done (2026-11-22) Priority: 2 Size: M Design ref: Kim, 22 November; VB-1161 Goal: A third icon style has somewhere to go: an icon’s drawings are named by set, and a theme names the set it shows. Acceptance criteria:
line and stencil today, a set a name in one table of src/page/icons.js; an icon’s markup carries each drawing it has under its set’s name (data-set or a class by name), and a missing drawing falls back to line.THEMES entry, put on the root as data-icons), and the stylesheet shows that set by one rule per set, not by naming a theme: no rule of the icons mentions data-theme.src/page/positions.js and every other caller of stencil follow; adding a third set is one entry in the table and its drawings, and the steps are in docs/architecture/modules.md, Adding things.tests/page.js follows (it looks for .i-sten); npm run verify, node tests/page.js and node tests/smoke.js green.Kim, 22 November. VB-1529 works in the rest of src/head.html and in src/page/options.js at the same time: keep this task’s change to the icons’ rules and, in options.js, to the one field and the one attribute.
Decisions (VB-1533):
<g data-set="NAME"> in the icon’s svg. An icon with no other set keeps its line drawing ungrouped, so every set shows it. drawings(svg, {set: shapes}, box) replaces stencil(), and an unknown set throws at load.line, which is the fallback: :root:not([data-icons="S"]) .ico > [data-set="S"], :root[data-icons="S"] .ico:has(> [data-set="S"]) > [data-set="line"] { display: none }. When the root has no data-icons, the line drawing shows, so this works whether or not Glass sets data-theme.:root[data-theme="mural"] … { --ico-bg: var(--accent) }. It sets the mural’s ground under a pressed button. That is a theme colour, which the stencil’s gaps read; it does not choose a set..hud.top, .navigation, #actBar, #actMenu (Household) and #tile (household card) in both themes. 0 pixels differ except in Glass’s #actMenu. Its frosted backdrop differs by about as much between two runs taken before the change (184 to 484 of 183,180 pixels).