Decisions · docs/decisions/0002-generated-weights.md
0002 · Four styles generated from one source
Accepted · 2026-10-21
Context
Hand-drawn weight sets drift: Bold gets redrawn differently from Regular, and fixes land in one weight only.
Decision
Each icon has one source: a stroke skeleton. The engine generates Light (1.25), Regular (1.75), Bold (2.5) and Duotone (Regular plus a 20 % plate). Knockout gaps and dots scale with the stroke. Outputs are outlined, filled paths.
Consequences
- The styles cannot drift, and a fix in one source fixes all four.
- Detail has to survive Bold: spacing rules (parallel centrelines ≥ 3.5 apart) are enforced at drawing time, and icons that can't meet them carry a
minSize. - Designers edit sources, not outputs.
build/svg-live/gives them editable strokes for exploration.