RoadieRoadie
  • Home
  • Brand
  • Foundations
  • Content
  • Tokens
  • Components
  • Charts
  • Widgets
  • Appearance
HomeBrandFoundations
Appearance

Tokens

Docs updated
18 Sept 2026

Every value Roadie ships, as CSS variables and Tailwind classes. Learn the five layers, then search for the one you need.

How it stacks

Each layer reads the one above it. Change the intent and every layer follows, because intent only sets variables and the rest inherit them.

  1. 1

    Scale

    Fourteen OKLCH steps per palette, from the lightest surface to the strongest text. Dark mode swaps the values, never the step numbers.

    --color-danger-0 … 13Color scales
  2. 2

    Intent

    Picks the scale. It sets variables and nothing else, and children inherit them.

    --intent-bg-strong--intent-text-normal--intent-border-normal
    intent-dangerIntents
  3. 3

    Semantic utilities

    One property each, named by role rather than step: bg-*, text-* and border-*.

    Payment failed

    Check your card and try again.

    bg-subtle text-normal border-subtleIntents
  4. 4

    Emphasis presets

    Background, text, border and shadow in one class, for anything that needs to stand out by a set amount.

    StrongNormalSubtleSubtler
    emphasis-strongEmphasis and states
  5. 5

    Interaction states

    Hover, press, focus ring and disabled, coloured by the same intent.

    is-interactiveEmphasis and states

Families

All tokens
  • Color scales

    207 tokens

  • Intents

    74 tokens

  • Data visualisation

    93 tokens

  • Emphasis and states

    25 tokens

  • Aa

    Typography

    83 tokens

  • Elevation and layering

    35 tokens

  • Shape and layout

    32 tokens

  • Motion

    56 tokens

  • BuyNov27

    Component utilities

    18 tokens

Reach for the highest layer

Colour a component with intent and emphasis

Presets carry hover, press and dark mode with them. Raw steps carry nothing.

<div className='intent-danger emphasis-subtle'>

Do

Set the intent, then pick an emphasis.

<div className='bg-danger-3 text-danger-11'>

Don’t

Hand-pick scale steps for a surface.

Read the role, not the step

Components inherit the intent around them, so the role resolves to the right scale.

color: var(--intent-text-subtle);

Do

Use an --intent-* role in custom CSS.

color: var(--color-neutral-11);

Don’t

Pin a --color-* step inside a component.

Dark mode and theming

The .dark class on <html> swaps every scale's values, so no dark: variants are needed. The accent scale follows --accent-hue and --accent-chroma, which ThemeProvider sets at runtime. Theming covers both.

Previous page← Interface copyNext pageAll tokens →