Back to design system

Foundations

03 / 13

Colors

Every color is used through a semantic token, never a raw value. One token name resolves to different values in light and dark mode, so components never need to know which theme is active.

The values below follow the active theme. Switch themes in the navbar to see the other set.

Brand

The main accent for eyebrows, key links, and primary actions.

  • primary

    --primary

  • primary-foreground

    --primary-foreground

Surface

Page, card, and popover backgrounds, and the text on top of them.

  • background

    --background

  • foreground

    --foreground

  • card

    --card

  • card-foreground

    --card-foreground

  • popover

    --popover

  • popover-foreground

    --popover-foreground

Neutral

Secondary backgrounds and supporting text with less emphasis.

  • secondary

    --secondary

  • secondary-foreground

    --secondary-foreground

  • muted

    --muted

  • muted-foreground

    --muted-foreground

  • accent

    --accent

  • accent-foreground

    --accent-foreground

State & lines

Destructive actions, dividers, inputs, and the focus ring.

  • destructive

    --destructive

  • border

    --border

  • input

    --input

  • ring

    --ring

Data series

Five colors for telling chart series apart, used in order.

  • series-1

    --series-1

  • series-2

    --series-2

  • series-3

    --series-3

  • series-4

    --series-4

  • series-5

    --series-5

Chart scale

One hue from light to deep, for magnitude or order.

  • chart-1

    --chart-1

  • chart-2

    --chart-2

  • chart-3

    --chart-3

  • chart-4

    --chart-4

  • chart-5

    --chart-5