Design system

One set of tokens.

Every page and every case study reads the same variables from one file, tokens.css. Light, dark and high contrast are the same tokens with different values, so a component never needs its own theme.

Colour

Type

Display and headings, Newsreader

Body and interface, Instrument Sans. Readable at every size, with generous line height.

LABELS AND DATA, JETBRAINS MONO

Spacing and radius

Buttons and chips

Primary Secondary

Accordion

What is this for?

Short questions with their answers, always visible, so nobody has to open anything.

Is it keyboard friendly?

Yes. There is nothing to open, so there is nothing to miss.

Slider

Arrows, mouse drag, touch swipe and keys all work, and the track nudges once to show there is more.

1TokensOne file
2ThemesLight, dark, contrast
3ButtonsSame shape everywhere
4CardsSame radius
5MotionRespects Reduce Motion