Colors
SourceSemantic colors, tints, and status inks. Pass a token name to backgroundColor, color, or borderColor on Box.
Every color is a light-dark() pair, so it resolves for the active color-scheme on its own. The theme toggle shows the other half of each pair.
Tints are alpha cuts of a color, named by their percentage. Status inks and fills are the emerald, amber, and rose the product uses for success, warning, and danger.
Colors
Surfaces, copy, and frames. Any of these works on backgroundColor, color, and borderColor.
background
The pageforeground
Copy on the pagecard
A raised surfacecardForeground
Copy on a cardpopover
A floating surfacepopoverForeground
Copy on a popoverprimary
The action inkprimaryInk
The action ink as text, lifted on darkprimaryForeground
Copy on primarysecondary
A quiet surfacesecondaryForeground
Copy on secondarymuted
Skeletons and quiet fillsmutedForeground
De-emphasised copyaccent
Hover and selection fillaccentForeground
Copy on accentdestructive
Danger actionsdestructiveForeground
Copy on destructivedestructiveInk
Destructive text on its tintsborder
Dividers and framesinput
Input framesring
Focus ringsoutline
Hairline outlinesoutlineStrong
Stronger outlinessurface1
Translucent surface, one stepsurface2
Translucent surface, two stepssidebar
The sidebarsidebarForeground
Copy in the sidebarsidebarPrimary
Primary in the sidebarsidebarPrimaryForeground
Copy on sidebar primarysidebarAccent
Active and hover rowssidebarAccentForeground
Copy on an active rowsidebarBorder
Sidebar dividerssidebarRing
Sidebar focus ringschart1
Chart series 1chart2
Chart series 2chart3
Chart series 3chart4
Chart series 4chart5
Chart series 5Tints
Alpha cuts. The number is the percentage.
foreground6
Foreground at 6%foreground8
Foreground at 8%foreground10
Foreground at 10%foreground30
Foreground at 30%foreground50
Foreground at 50%foreground70
Foreground at 70%accent25
Accent at 25%destructive10
Destructive at 10%destructive20
Destructive at 20%destructive25
Destructive at 25%success25
Success fill at 25%warning10
Warning fill at 10%warning25
Warning fill at 25%danger10
Danger fill at 10%black50
Black at 50%, dialog backdropsbackground70
Background at 70%, frosted barswhite10
White at 10%, avatar rimsring30
Ring at 30%ring40
Ring at 40%foreground40
Foreground at 40%foreground60
Foreground at 60%foreground80
Foreground at 80%primary80
Primary at 80%, the button hoversecondary80
Secondary at 80%, the secondary button hovermuted40
Muted at 40%, the avatar framemuted50
Muted at 50%, row and ghost hoversinput30
Input at 30%, the outline button hover in darkdestructive30
Destructive at 30%destructive40
Destructive at 40%, the invalid ring in darkdestructive50
Destructive at 50%, the invalid border in darkmutedForeground30
Muted foreground at 30%, the hero taglineStatus fills
Backgrounds for badges and callouts. backgroundColor only.
successFill
Emerald 500warningFill
Amber 500dangerFill
Rose 500Status inks
Text and icon colors for status. color only.
successInk
Emerald 800 on light, 400 on darkwarningInk
Amber 800 on light, 400 on darkdangerInk
Rose 800 on light, 400 on dark