Colors

The palette, and every color token as each container sets it.

Palette

Token--color-level-x
0
1
2
3
4
5
6
7
8
9
10
11
12

Base

TokenUse it for
--color-backgroundWhere you are.
--color-foregroundText and icons.
--color-secondarySupporting text.
--color-mutedHints and placeholders.
--color-disabledDisabled text.
--color-hoverHovers and wells.
--color-tooltipTooltips.

Accent

TokenUse it for
--color-accentChecked and selected.
--color-on-accentText on the accent.
--color-accent-textLinks.
--color-primaryPrimary buttons.
--color-primary-hoverHovered primary buttons.
--color-on-primaryText on the primary.

States

TokenUse it for
--color-successDone.
--color-warningNeeds attention.
--color-dangerErrors.

Overlays

TokenUse it for
--color-pressedPressed ghosts.
--color-focusFocus rings.

Lines

TokenUse it for
--color-borderSeparators.
--color-border-subtleDividers in a card.
--color-border-lightA line under a table's rows on the page, where a dark one doesn't read.