Foundations · 01
Colour roles
Iris is the action colour; Sky marks focus and information. Panes are white at 7–12 % (dark) or 58–82 % (light), so each translucent value is listed with the colour it actually composites to.
--bglight: #EDEFF9dark: #08081APage canvas
--surfacelight: rgba(255,255,255,.58) composited≈ #F7F8FCdark: rgba(255,255,255,.07) composited≈ #19192ACards, panels, inputs
--surface-2light: rgba(255,255,255,.82) composited≈ #FCFCFEdark: rgba(255,255,255,.12) composited≈ #262635Sunken wells, hovers, table heads
--inklight: #17142Edark: #F6F4FFHeadings, primary text
--ink-2light: #33305Adark: #D8D4EEBody copy on surfaces
--mutedlight: #585480dark: #A7A3C6Helper text, metadata
--linelight: rgba(23,20,46,.10) composited≈ #D8D9E5dark: rgba(255,255,255,.12) composited≈ #262635Dividers, card edges
--line-stronglight: rgba(23,20,46,.52) composited≈ #7E7D8Fdark: rgba(255,255,255,.38) composited≈ #666671Input borders (3:1 non-text)
--primarylight: #5A3ECFdark: #B8A3FFThe one filled button per screen
--primary-inklight: #FFFFFFdark: #160E33Label on primary
--accentlight: #5A3ECFdark: #B8A3FFLinks, selection, focus — touchable only
--accent-inklight: #FFFFFFdark: #160E33Label on accent fills
--dangerlight: #B01F37dark: #FF9EA6Errors, destructive actions
--danger-inklight: #FFFFFFdark: #2A0A10Label on danger fills
--danger-softlight: rgba(176,31,55,.10) composited≈ #E7DAE6dark: rgba(255,120,132,.16) composited≈ #301A2BError wash
--oklight: #0D6E4Edark: #76E3B6Saved, active, done
--ok-softlight: rgba(13,110,78,.12) composited≈ #D2E0E4dark: rgba(118,227,182,.14) composited≈ #172730Success wash
--warnlight: #855200dark: #FFD47CPending, heads-up
--warn-softlight: rgba(176,110,0,.14) composited≈ #E4DDD6dark: rgba(255,212,124,.14) composited≈ #2B2528Warning wash
--infolight: #0A6594dark: #8FD8FFNeutral news, “new”
--info-softlight: rgba(10,101,148,.10) composited≈ #D6E1EFdark: rgba(125,211,252,.14) composited≈ #18243AInfo wash
--focuslight: #0A6594dark: #8FD8FFKeyboard focus outline
--scrimlight: rgba(30,26,60,.28)dark: rgba(5,5,18,.55)Behind modals and sheets
Contrast, both themes
Measured live from the tokens.
| Pair | Light | Dark |
|---|---|---|
Headings on field--ink / --bg | 15.58:1AAA | 18.21:1AAA |
Body on pane--ink-2 / --surface | 11.60:1AAA | 11.97:1AAA |
Metadata on pane--muted / --surface | 6.63:1AA | 7.15:1AAA |
Metadata on lifted pane--muted / --surface-2 | 6.85:1AA | 6.19:1AA |
Primary button label--primary-ink / --primary | 6.94:1AA | 8.49:1AAA |
Link on pane--accent / --surface | 6.56:1AA | 7.99:1AAA |
Destructive button--danger-ink / --danger | 6.78:1AA | 9.30:1AAA |
Error message--danger / --surface | 6.41:1AA | 8.79:1AAA |
Success pill--ok / --ok-soft | 4.61:1AA | 9.84:1AAA |
Warning pill--warn / --warn-soft | 4.88:1AA | 10.76:1AAA |
Input border--line-strong / --surface | 3.58:13:1 UI | 3.55:13:1 UI |
Focus ring--focus / --bg | 5.55:13:1 UI | 12.67:13:1 UI |
Text needs 4.5:1, large text and UI edges 3:1 (WCAG 2.2). The current theme’s column is shaded. Translucent roles are composited over the background before measuring.
Contrast lab
Pick any two roles; switch theme to see the dark pairing.
—
Light is the material.