Tokens

Machine-readable exports of the design values, and how to consume them.

The token files are the machine-readable form of the foundations. They are MIT-licensed — the values are free to use, the marks are not. See Licensing.

Downloads

FileFormatUse
variables.cssCSS custom propertiesAny web project
tokens.jsonJSONBuild pipelines, Style Dictionary
tailwind.config.jsJSTailwind CSS projects

Source: brand/tokens/.

All three are generated from src/data/brand.yaml by scripts/build-tokens.mjs — the same file this documentation renders from, so a page and a download cannot disagree about a value. scripts/check-tokens.sh fails the build if the committed files drift from a fresh generation, or if brand.yaml drifts from the SCSS that actually styles the site.

CSS

<link rel="stylesheet" href="variables.css">
.button--primary {
  background: var(--color-primary);
  border-radius: var(--radius-md);
  padding: var(--space-3) var(--space-4);
  transition: background var(--duration-standard) var(--ease-out);
}

What the tokens cover

Everything the foundations define, in all three files:

Covers
Colour — namedThe eight aliases: primary, accent (with accent-solid), secondary, and their light and dark variants
Colour — scalesAll three 12-step scales, in both modes — 72 values
Colour — semanticSuccess, warning, danger, info: the solid value, its tint, and the foreground to use on that tint, per mode
SurfacesPage canvas, elevated surface, three text levels, border — per mode
TypographyThree font stacks, and the eleven-style type scale with size, weight, and line height
SpacingThe nine-step 4px scale
RadiusFive steps
ElevationFour shadow levels
MotionFour durations, two easing curves
Breakpointssm 640, md 768, lg 1024, xl 1280
TerminalThe sixteen ANSI slots plus thirteen chrome values

Modes

variables.css declares the dark values twice: once under @media (prefers-color-scheme: dark), and once under [data-theme="dark"]. A theme toggle that only works when the operating system already agrees is not a toggle, so both routes are present and the explicit attribute wins.

Consuming them in SCSS

This site maps the tokens onto Bootstrap and Docsy variables in src/assets/scss/_variables_project.scss, which is a worked example of wiring the brand into an existing component framework.