diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-17 18:34:43 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-17 18:34:43 -0500 |
| commit | 6d8f4d8bfae27e8fc6caf1cbc65cf0fdf7a85db8 (patch) | |
| tree | 007fd7c97871d0d23ae8db3afcf9951c1d48dcbe /tests/safe-rm-rf | |
| parent | 6bcd0da82c505a2ec22268adfced0004401b74a9 (diff) | |
| download | archsetup-6d8f4d8bfae27e8fc6caf1cbc65cf0fdf7a85db8.tar.gz archsetup-6d8f4d8bfae27e8fc6caf1cbc65cf0fdf7a85db8.zip | |
feat(gallery): colour-policy system, chip-toggle accents, widgets-per-row
Every widget's colour is either the consumer's to pick or locked for a reason, and I kept classifying cards wrong from memory during the colour pass. So the policy is a declared, checked property now. Six kinds. Accent and screen are free and take colour chips. Coded, emissive, relational and material are locked and must not. Each classified builder carries a POLICY record naming the kind, why this widget is bound that way, and what it may change and stay authentic (the range that actually existed, like the CRT phosphors that shipped). Eight are classified. The rest are the worklist.
The page shows all of it from that one source. A card recovers its builder from the arrow it was handed and reads GW.<builder>.POLICY, so the badge, the spec-sheet catalog and the index tally can't drift from the code. A probe holds it both ways: the recolour mechanism and the accent kind imply each other, so a locked card can't grow chips and an accent card can't forget to declare.
The chip toggle is the first consumer of a shared accent family (red, amber, green, white, vfd) from GW.accentStyles, so the next card that wants those five gets them from one definition rather than a copy.
Two smaller changes ride along because they touch the same header. The size toggle becomes WIDGETS/ROW, an explicit 1-4 column count instead of S/M/L zoom, and the policy panel sits level-right of the index.
Diffstat (limited to 'tests/safe-rm-rf')
0 files changed, 0 insertions, 0 deletions
