ZULU
1 ZULUProjectsRS1Modules › RS1.COLORS
Module 27Live

RS1.COLORS

Site Colour Scheme Switcher

Several schemes, each one checked rather than eyeballed.

What it is

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.

At a glance

ImplementationCSS custom properties, one token block per scheme
PersistenceRemembered, applied before first paint
Validated forOKLab ΔE, CVD simulation, WCAG contrast
WhyIndicator colours that a colourblind operator cannot separate are a fault, not a preference

Where it runs

  • sitename-exit-node

Shows up in

  • /colors/
Media

Screenshots and video

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.

Code

Source

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.