The station panels ship with a set of colour schemes, switchable and remembered between visits, applied before the first paint so there is no flash of the wrong palette. Implemented entirely in CSS custom properties, which means one token block per scheme and no duplicated stylesheets.
The part worth keeping is the checking. Each scheme was computed rather than judged: OKLab colour difference between every pair of indicator colours, the same differences again through colour-vision-deficiency simulation, and WCAG contrast for every piece of text against its own background. A status display whose “good” and “fault” lamps are indistinguishable to a red-green colourblind operator is not a cosmetic problem, and it is not something you can reliably catch by looking.
| Implementation | CSS custom properties, one token block per scheme |
|---|---|
| Persistence | Remembered, applied before first paint |
| Validated for | OKLab ΔE, CVD simulation, WCAG contrast |
| Why | Indicator colours that a colourblind operator cannot separate are a fault, not a preference |
Nothing here yet. Drop images or video into
/projects/rs1/modules/rs1-colors/media/ and they appear on this page at the
next build — or list them in module.json with captions
to control the order and the wording.
Not published yet. Code for this module will live in
/projects/rs1/modules/rs1-colors/ alongside its module.json, and
gets listed here once it does.