Colour
Six 12-step ramps and the semantic tokens built on them: surfaces, fills, borders and content.
- Source
tokens/colors.json- Figma
- Collections Primitives + Color (Dark)
- In code
var(--surface-primary)
Scale
Every ramp has the same 12 steps. A step has the same lightness in every ramp and the same job. Orange 9 is the brand colour, #FF3D01.
Lightness per step: 0.12 · 0.155 · 0.19 · 0.225 · 0.26 · 0.295 · 0.33 · 0.365 · 0.6536 · 0.7 · 0.8 · 0.95. Plus white (#FFFFFF).
Surfaces
12 tokens. The ladder, nested the way it is used: background → elevated, gray 1 → 5.
background→ gray/1 · L 0.12surface/primary→ gray/2 · L 0.155 · +0.035surface/secondary→ gray/3 · L 0.19 · +0.035surface/tertiary→ gray/4 · L 0.225 · +0.035surface/elevated→ gray/5 · L 0.26 · +0.035Other surfaces
surface/inverse→ gray/12 · #F1EEECsurface/fixed→ white · #FFFFFFsurface/brand→ orange/3 · #250A05surface/success→ green/3 · #07180Dsurface/warning→ amber/3 · #1B1206surface/critical→ red/3 · #250A09surface/info→ blue/3 · #0A1424Fills
62 tokens. Backgrounds of interactive things. Neutral: hover +1 step, active +2, disabled −1. Solid colour: 9 · hover 10 · active 8.
fill/primaryfill/secondaryfill/tertiaryfill/elevatedfill/inversefill/brandfill/successfill/warningfill/criticalfill/infofill/brand-secondaryfill/success-secondaryfill/warning-secondaryfill/critical-secondaryfill/info-secondaryfill/fixedBorders
34 tokens. border/X sits 2 steps above surface/X. Hover +1, disabled −1.
border/primaryborder/secondaryborder/tertiaryborder/elevatedborder/inverseborder/brandborder/successborder/warningborder/criticalborder/infoborder/focusborder/focus-inverseborder/brand-secondaryborder/selectedContent
53 tokens. Text and icons, each shown on the background it is meant for. Colour text: 10 · hover 11 · active 9 · disabled 7.
content/primarycontent/secondarycontent/tertiarycontent/linkcontent/selectedcontent/inverse-primarycontent/inverse-secondarycontent/fixed-primarycontent/fixed-inversecontent/brandcontent/successcontent/warningcontent/criticalcontent/infocontent/brand-inversecontent/success-inversecontent/warning-inversecontent/critical-inversecontent/info-inversecontent/on-brandcontent/on-successcontent/on-warningcontent/on-criticalcontent/on-infocontent/on-inverse