diff options
| author | Craig Jennings <c@cjennings.net> | 2026-07-16 09:11:29 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-07-16 09:11:29 -0500 |
| commit | 35dbfc8158bfb44b88edbbc17f4adfeecd3ce3e6 (patch) | |
| tree | 27bd7cf5da7c48d85374e7f3e041704f1421636b /scripts/testing/lib | |
| parent | 9697f5abaab831eeb9d09890ee87306a21caddcb (diff) | |
| download | archsetup-35dbfc8158bfb44b88edbbc17f4adfeecd3ce3e6.tar.gz archsetup-35dbfc8158bfb44b88edbbc17f4adfeecd3ce3e6.zip | |
feat(gallery): rework the console-key and slide-toggle colour vocabulary
Console keys read SCAN before LIVE, and LIVE is green. The palette already defines --pass as "run lamps, gear greens, monitor bars, LIVE lamps", so the widget contradicted the language it draws from. Its note asserted the old colours too. The per-key `red` boolean became a `tone` field, since a boolean can't express three states.
The slide toggle gains red and warn on its `on` axis, so the engaged state can be the notable one (mute, record, airplane mode). Red was reachable only on the `off` axis before, which paints the disengaged state: the opposite claim. A new onText axis makes the ON ink reachable at all. `on` had bundled background and ink together, so "dark pill, green legend" couldn't be expressed.
Presets name a combination (panel, run, armed, caution, dark), which is what a consumer reaches for. The axes are how one gets built.
Diffstat (limited to 'scripts/testing/lib')
0 files changed, 0 insertions, 0 deletions
