Colors

The colour ramps and the classes components use, in light and dark.

Colours come in two layers. The palette is the raw ramps; nothing in a component reads it directly. The classes (bg-ws-…, text-ws-…, border-ws-…) are what components use; they point at the palette and switch with dark mode. Every swatch on this page reads the live token, so switch the site theme to see the dark values. To change any of them, see Theming.

Palette

Primitives are named --ws-colors-light-<family>-<step> (and -dark- for the dark ramps). Override the brand ramps, both of them, for a re-brand: Theming has the recipe.

neutral
0
100
200
300
400
500
600
700
800
900
1000
1100
brand
100
200
300
400
500
600
700
800
900
1000
1100
blue
100
200
300
400
500
600
700
800
900
1000
1100
cyan
100
200
300
400
500
600
700
800
900
1000
1100
green
100
200
300
400
500
600
700
800
900
1000
1100
indigo
100
200
300
400
500
600
700
800
900
1000
1100
lime
100
200
300
400
500
600
700
800
900
1000
1100
orange
100
200
300
400
500
600
700
800
900
1000
1100
pink
100
200
300
400
500
600
700
800
900
1000
1100
purple
100
200
300
400
500
600
700
800
900
1000
1100
red
100
200
300
400
500
600
700
800
900
1000
1100
teal
100
200
300
400
500
600
700
800
900
1000
1100
violet
100
200
300
400
500
600
700
800
900
1000
1100
yellow
100
200
300
400
500
600
700
800
900
1000
1100

Background

bg-ws-*. Static tokens are the page and its containers; dynamic tokens are interactive surfaces with default, hover, pressed and disabled states.

Static — surfaces, text and borders that do not react to interaction · 20
bg-ws-static-alpha-base
bg-ws-static-alpha-strong
bg-ws-static-alpha-subtle
bg-ws-static-background
bg-ws-static-container
bg-ws-static-foreground
bg-ws-static-highlight-base
bg-ws-static-highlight-inverse
bg-ws-static-highlight-strong
bg-ws-static-highlight-subtle
bg-ws-static-inverse-alpha-base
bg-ws-static-inverse-alpha-strong
bg-ws-static-inverse-alpha-subtle
bg-ws-static-inverse-background
bg-ws-static-inverse-container
bg-ws-static-inverse-foreground
bg-ws-static-inverse-overlay
bg-ws-static-overlay
bg-ws-static-panel
bg-ws-static-scrim-base
Dynamic — interactive roles, with states · 61
bg-ws-dynamic-danger-alpha-default
bg-ws-dynamic-danger-alpha-hover
bg-ws-dynamic-danger-alpha-pressed
bg-ws-dynamic-danger-alpha-strong-default
bg-ws-dynamic-danger-alpha-strong-hover
bg-ws-dynamic-danger-alpha-strong-pressed
bg-ws-dynamic-danger-default
bg-ws-dynamic-danger-disabled
bg-ws-dynamic-danger-hover
bg-ws-dynamic-danger-pressed
bg-ws-dynamic-inverse-alpha-default
bg-ws-dynamic-inverse-alpha-hover
bg-ws-dynamic-inverse-alpha-pressed
bg-ws-dynamic-inverse-alpha-strong-default
bg-ws-dynamic-inverse-alpha-strong-hover
bg-ws-dynamic-inverse-alpha-strong-pressed
bg-ws-dynamic-inverse-default
bg-ws-dynamic-inverse-disabled
bg-ws-dynamic-inverse-hover
bg-ws-dynamic-inverse-pressed
bg-ws-dynamic-primary-alpha-default
bg-ws-dynamic-primary-alpha-hover
bg-ws-dynamic-primary-alpha-pressed
bg-ws-dynamic-primary-alpha-strong-default
bg-ws-dynamic-primary-alpha-strong-hover
bg-ws-dynamic-primary-alpha-strong-pressed
bg-ws-dynamic-primary-default
bg-ws-dynamic-primary-disabled
bg-ws-dynamic-primary-hover
bg-ws-dynamic-primary-pressed
bg-ws-dynamic-secondary-alpha-default
bg-ws-dynamic-secondary-alpha-disabled
bg-ws-dynamic-secondary-alpha-hover
bg-ws-dynamic-secondary-alpha-pressed
bg-ws-dynamic-secondary-alpha-strong-default
bg-ws-dynamic-secondary-alpha-strong-hover
bg-ws-dynamic-secondary-alpha-strong-pressed
bg-ws-dynamic-secondary-default
bg-ws-dynamic-secondary-disabled
bg-ws-dynamic-secondary-hover
bg-ws-dynamic-secondary-pressed
bg-ws-dynamic-success-alpha-default
bg-ws-dynamic-success-alpha-hover
bg-ws-dynamic-success-alpha-pressed
bg-ws-dynamic-success-alpha-strong-default
bg-ws-dynamic-success-alpha-strong-hover
bg-ws-dynamic-success-alpha-strong-pressed
bg-ws-dynamic-success-default
bg-ws-dynamic-success-disabled
bg-ws-dynamic-success-hover
bg-ws-dynamic-success-pressed
bg-ws-dynamic-tertiary-alpha-default
bg-ws-dynamic-tertiary-alpha-hover
bg-ws-dynamic-tertiary-alpha-pressed
bg-ws-dynamic-tertiary-alpha-strong-default
bg-ws-dynamic-tertiary-alpha-strong-hover
bg-ws-dynamic-tertiary-alpha-strong-pressed
bg-ws-dynamic-tertiary-default
bg-ws-dynamic-tertiary-disabled
bg-ws-dynamic-tertiary-hover
bg-ws-dynamic-tertiary-pressed
Semantic — status: positive, negative, notice, info · 10
bg-ws-semantic-info
bg-ws-semantic-inverse-info
bg-ws-semantic-inverse-negative
bg-ws-semantic-inverse-neutral
bg-ws-semantic-inverse-notice
bg-ws-semantic-inverse-positive
bg-ws-semantic-negative
bg-ws-semantic-neutral
bg-ws-semantic-notice
bg-ws-semantic-positive
Non-semantic — accent colours with no meaning attached · 26
bg-ws-non-semantic-blue-strong
bg-ws-non-semantic-blue-subtle
bg-ws-non-semantic-brand-strong
bg-ws-non-semantic-brand-subtle
bg-ws-non-semantic-cyan-strong
bg-ws-non-semantic-cyan-subtle
bg-ws-non-semantic-green-strong
bg-ws-non-semantic-green-subtle
bg-ws-non-semantic-indigo-strong
bg-ws-non-semantic-indigo-subtle
bg-ws-non-semantic-lime-strong
bg-ws-non-semantic-lime-subtle
bg-ws-non-semantic-orange-strong
bg-ws-non-semantic-orange-subtle
bg-ws-non-semantic-pink-strong
bg-ws-non-semantic-pink-subtle
bg-ws-non-semantic-purple-strong
bg-ws-non-semantic-purple-subtle
bg-ws-non-semantic-red-strong
bg-ws-non-semantic-red-subtle
bg-ws-non-semantic-teal-strong
bg-ws-non-semantic-teal-subtle
bg-ws-non-semantic-violet-strong
bg-ws-non-semantic-violet-subtle
bg-ws-non-semantic-yellow-strong
bg-ws-non-semantic-yellow-subtle

Text

text-ws-*. Use on-* tokens for text on a filled surface of the same role.

Static — surfaces, text and borders that do not react to interaction · 6
Aa
text-ws-static-base
Aa
text-ws-static-inverse-base
Aa
text-ws-static-inverse-strong
Aa
text-ws-static-inverse-subtle
Aa
text-ws-static-strong
Aa
text-ws-static-subtle
Dynamic — interactive roles, with states · 40
Aa
text-ws-dynamic-danger-default
Aa
text-ws-dynamic-danger-disabled
Aa
text-ws-dynamic-danger-hover
Aa
text-ws-dynamic-danger-pressed
Aa
text-ws-dynamic-inverse-default
Aa
text-ws-dynamic-inverse-disabled
Aa
text-ws-dynamic-inverse-hover
Aa
text-ws-dynamic-inverse-pressed
Aa
text-ws-dynamic-on-danger-default
Aa
text-ws-dynamic-on-danger-disabled
Aa
text-ws-dynamic-on-danger-hover
Aa
text-ws-dynamic-on-danger-pressed
Aa
text-ws-dynamic-on-inverse-default
Aa
text-ws-dynamic-on-inverse-disabled
Aa
text-ws-dynamic-on-inverse-hover
Aa
text-ws-dynamic-on-inverse-pressed
Aa
text-ws-dynamic-on-primary-default
Aa
text-ws-dynamic-on-primary-disabled
Aa
text-ws-dynamic-on-primary-hover
Aa
text-ws-dynamic-on-primary-pressed
Aa
text-ws-dynamic-on-secondary-default
Aa
text-ws-dynamic-on-secondary-disabled
Aa
text-ws-dynamic-on-secondary-hover
Aa
text-ws-dynamic-on-secondary-pressed
Aa
text-ws-dynamic-on-success-default
Aa
text-ws-dynamic-on-success-disabled
Aa
text-ws-dynamic-on-success-hover
Aa
text-ws-dynamic-on-success-pressed
Aa
text-ws-dynamic-primary-default
Aa
text-ws-dynamic-primary-disabled
Aa
text-ws-dynamic-primary-hover
Aa
text-ws-dynamic-primary-pressed
Aa
text-ws-dynamic-secondary-default
Aa
text-ws-dynamic-secondary-disabled
Aa
text-ws-dynamic-secondary-hover
Aa
text-ws-dynamic-secondary-pressed
Aa
text-ws-dynamic-success-default
Aa
text-ws-dynamic-success-disabled
Aa
text-ws-dynamic-success-hover
Aa
text-ws-dynamic-success-pressed
Semantic — status: positive, negative, notice, info · 15
Aa
text-ws-semantic-info
Aa
text-ws-semantic-negative
Aa
text-ws-semantic-neutral
Aa
text-ws-semantic-notice
Aa
text-ws-semantic-on-inverse-info
Aa
text-ws-semantic-on-inverse-negative
Aa
text-ws-semantic-on-inverse-neutral
Aa
text-ws-semantic-on-inverse-notice
Aa
text-ws-semantic-on-inverse-positive
Aa
text-ws-semantic-on-subtle-info
Aa
text-ws-semantic-on-subtle-negative
Aa
text-ws-semantic-on-subtle-neutral
Aa
text-ws-semantic-on-subtle-notice
Aa
text-ws-semantic-on-subtle-positive
Aa
text-ws-semantic-positive
Non-semantic — accent colours with no meaning attached · 26
Aa
text-ws-non-semantic-blue-on-strong
Aa
text-ws-non-semantic-blue-on-subtle
Aa
text-ws-non-semantic-brand-on-strong
Aa
text-ws-non-semantic-brand-on-subtle
Aa
text-ws-non-semantic-cyan-on-strong
Aa
text-ws-non-semantic-cyan-on-subtle
Aa
text-ws-non-semantic-green-on-strong
Aa
text-ws-non-semantic-green-on-subtle
Aa
text-ws-non-semantic-indigo-on-strong
Aa
text-ws-non-semantic-indigo-on-subtle
Aa
text-ws-non-semantic-lime-on-strong
Aa
text-ws-non-semantic-lime-on-subtle
Aa
text-ws-non-semantic-orange-on-strong
Aa
text-ws-non-semantic-orange-on-subtle
Aa
text-ws-non-semantic-pink-on-strong
Aa
text-ws-non-semantic-pink-on-subtle
Aa
text-ws-non-semantic-purple-on-strong
Aa
text-ws-non-semantic-purple-on-subtle
Aa
text-ws-non-semantic-red-on-strong
Aa
text-ws-non-semantic-red-on-subtle
Aa
text-ws-non-semantic-teal-on-strong
Aa
text-ws-non-semantic-teal-on-subtle
Aa
text-ws-non-semantic-violet-on-strong
Aa
text-ws-non-semantic-violet-on-subtle
Aa
text-ws-non-semantic-yellow-on-strong
Aa
text-ws-non-semantic-yellow-on-subtle

Border

border-ws-*.

Static — surfaces, text and borders that do not react to interaction · 6
border-ws-static-base
border-ws-static-inverse-base
border-ws-static-inverse-strong
border-ws-static-inverse-subtle
border-ws-static-strong
border-ws-static-subtle
Dynamic — interactive roles, with states · 40
border-ws-dynamic-danger-default
border-ws-dynamic-danger-disabled
border-ws-dynamic-danger-hover
border-ws-dynamic-danger-pressed
border-ws-dynamic-danger-strong-default
border-ws-dynamic-danger-strong-disabled
border-ws-dynamic-danger-strong-hover
border-ws-dynamic-danger-strong-pressed
border-ws-dynamic-inverse-default
border-ws-dynamic-inverse-disabled
border-ws-dynamic-inverse-hover
border-ws-dynamic-inverse-pressed
border-ws-dynamic-inverse-strong-default
border-ws-dynamic-inverse-strong-disabled
border-ws-dynamic-inverse-strong-hover
border-ws-dynamic-inverse-strong-pressed
border-ws-dynamic-primary-default
border-ws-dynamic-primary-disabled
border-ws-dynamic-primary-hover
border-ws-dynamic-primary-pressed
border-ws-dynamic-primary-strong-default
border-ws-dynamic-primary-strong-disabled
border-ws-dynamic-primary-strong-hover
border-ws-dynamic-primary-strong-pressed
border-ws-dynamic-secondary-default
border-ws-dynamic-secondary-disabled
border-ws-dynamic-secondary-hover
border-ws-dynamic-secondary-pressed
border-ws-dynamic-secondary-strong-default
border-ws-dynamic-secondary-strong-disabled
border-ws-dynamic-secondary-strong-hover
border-ws-dynamic-secondary-strong-pressed
border-ws-dynamic-success-default
border-ws-dynamic-success-disabled
border-ws-dynamic-success-hover
border-ws-dynamic-success-pressed
border-ws-dynamic-success-strong-default
border-ws-dynamic-success-strong-disabled
border-ws-dynamic-success-strong-hover
border-ws-dynamic-success-strong-pressed
Semantic — status: positive, negative, notice, info · 5
border-ws-semantic-info
border-ws-semantic-negative
border-ws-semantic-neutral
border-ws-semantic-notice
border-ws-semantic-positive
Non-semantic — accent colours with no meaning attached · 13
border-ws-non-semantic-blue-default
border-ws-non-semantic-brand-default
border-ws-non-semantic-cyan-default
border-ws-non-semantic-green-default
border-ws-non-semantic-indigo-default
border-ws-non-semantic-lime-default
border-ws-non-semantic-orange-default
border-ws-non-semantic-pink-default
border-ws-non-semantic-purple-default
border-ws-non-semantic-red-default
border-ws-non-semantic-teal-default
border-ws-non-semantic-violet-default
border-ws-non-semantic-yellow-default