Static is ink. Reactive is vermilion.
The site is almost monochrome. One color is reserved for one meaning: something that can change at runtime. That covers Reactive CSS syntax in code, live values, and state readouts. Native CSS, navigation, buttons and prose never use it. When a reader sees vermilion, they are looking at the part this library adds.
Live values in code
Every state declaration shows its current value as an outlined chip at the end of the line. Code blocks are never just pictures of code.
The reaction trace
On interaction, the lines involved light up in order: the event, the state it wrote, then the declarations that changed. Unused when() branches fade.
A value in a block
A declaration block holding one live value. The same dot marks active state across the site.
/* native CSS stays ink */.chip { --open: state(false);false rotate: when(--open, 45deg, 0deg);}.chip:on(click) { --open: toggle(); }.chip:when(--open) .menu { display: block;}Warm neutrals, one signal
Instrument Sans and Red Hat Mono
A compact grotesque with tight display tracking for headlines, and a mono with real weights so selectors and reactive tokens can be bolder than values without changing color. Mono also carries all metadata: kickers, labels, file names, statuses.
Weight for structure, color for reaction
A 4px base and hairlines
- Marketing: 12 columns, 1280px max, gutter clamp(16px, 4vw, 40px).
- Docs: nav 264px · article max 960px · TOC 220px. TOC folds into the article below 1300px, nav into a menu below 900px.
- Layouts wrap with flex-basis and container queries instead of breakpoints wherever possible.
Components
Every component, with all its states and editable props, is in Storybook: npm run storybook.
Tinted surface, hairline border.
Paper surface, ink border.
Errors name the declaration that failed and what happens next.
Motion only answers input
Nothing moves on its own, except examples that demonstrate periodic motion such as wave(). Every other animation on the site is caused by something the reader did, which is the product's point.