GuidanceColors
An intent-* class points every --intent-* role at one scale, and children inherit it. The semantic utilities read those roles, so the same class draws in any intent. Neutral is set on :root.
| Role | Neutral | Brand | Brand secondary | Accent | Danger | Success | Warning | Info |
|---|---|---|---|---|---|---|---|---|
| Backgrounds | ||||||||
| bg-normal | ||||||||
| bg-strong | ||||||||
| bg-strong-hover | ||||||||
| bg-strong-active | ||||||||
| bg-inverted | ||||||||
| bg-raised | ||||||||
| bg-sunken | ||||||||
| bg-subtler | ||||||||
| bg-subtle | ||||||||
| Borders | ||||||||
| border-subtler | ||||||||
| border-subtle | ||||||||
| border-normal | ||||||||
| border-strong | ||||||||
| border-inverted | ||||||||
| Text | ||||||||
| text-subtler | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
| text-subtle | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
| text-normal | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
| text-strong | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
| text-inverted | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
| text-on-strong | Aa | Aa | Aa | Aa | Aa | Aa | Aa | Aa |
69 tokens
9
Surface roles, read by the bg-* utilities.
6
Foreground roles, read by the text-* utilities.
5
Edge roles, read by the border-* and divide-* utilities.
2
Highlight colours for mark and search matches.
20
The Tailwind classes that read the roles above.
1
14
The active intent's 14 scale steps, for states a role doesn't cover.
4
Translucent steps that read on any surface.
8
Point every role at one scale; children inherit it.