Skip to content

Surfaces

Compare the grounds for navigation, content, controls and overlays.

Sidebar
Pane
Card
Elevated

Scales

neutral
  • neutral 1
  • neutral 2
  • neutral 3
  • neutral 4
  • neutral 5
  • neutral 6
  • neutral 7
  • neutral 8
  • neutral 9
  • neutral 10
  • neutral 11
  • neutral 12
red
  • red 1
  • red 2
  • red 3
  • red 4
  • red 5
  • red 6
  • red 7
  • red 8
  • red 9
  • red 10
  • red 11
  • red 12
blue
  • blue 1
  • blue 2
  • blue 3
  • blue 4
  • blue 5
  • blue 6
  • blue 7
  • blue 8
  • blue 9
  • blue 10
  • blue 11
  • blue 12
amber
  • amber 1
  • amber 2
  • amber 3
  • amber 4
  • amber 5
  • amber 6
  • amber 7
  • amber 8
  • amber 9
  • amber 10
  • amber 11
  • amber 12
green
  • green 1
  • green 2
  • green 3
  • green 4
  • green 5
  • green 6
  • green 7
  • green 8
  • green 9
  • green 10
  • green 11
  • green 12
purple
  • purple 1
  • purple 2
  • purple 3
  • purple 4
  • purple 5
  • purple 6
  • purple 7
  • purple 8
  • purple 9
  • purple 10
  • purple 11
  • purple 12
pink
  • pink 1
  • pink 2
  • pink 3
  • pink 4
  • pink 5
  • pink 6
  • pink 7
  • pink 8
  • pink 9
  • pink 10
  • pink 11
  • pink 12
Light steps used by dark roles
neutral
  • neutral 1

The beacon

Attention stays amber. The caret and selection follow the theme.

Preview
Plan the dialog 4m
Waits for your answer, drawn in the waiting mark
Fix the flaky test
Text caret in every editable field
Keep the request
Text selection wash in the theme colour
Reply to continue
Night
Reply to continue
Day
The live signal keeps its shape and drops the glow by day.

Never the beacon

  • Links take the ink of the surrounding text with an underline, like this one. An agent's name or a mention takes the theme ink --text-link, and chat links in dark theme take --text-link-muted. Neither uses the amber attention token.
  • File paths stay in the neutral text ranks.
  • Keyboard focus always uses the neutral focus ring.
  • Controls and panels never take an amber or theme fill. The primary action button uses full ink.
  • The running glyph stays neutral. Amber belongs to waiting marks, unread dots and the product's live signal.
  • Warnings pair golden amber in dark theme with distinct warning icons and shapes in both themes so a warning never reads as new or unread.

Contrast

Compare live contrast ratios. Red marks a pair below its minimum.

SurfaceText 1ProseText 2Text 3Text 4
App--bg-appAaAaAaAaAa
Pane--bg-paneAaAaAaAaAa
Card--bg-cardAaAaAaAaAa
Raised--bg-raisedAaAaAaAaAa
Elevated--bg-elevatedAaAaAaAaAa
Inset--bg-insetAaAaAaAaAa

--text-4 has no contrast minimum. Use it only for disabled labels and decoration, never for information a person needs to read. Placeholders, key hints and metadata use --text-3, which clears 4.5:1 on every surface.

Ink ladders

Choose each ink by its job, not its shade.

Text

Read each text rank against the base app surface.

:1
:1
:1
:1
TokenUseOn app ground
Primary labels, headings and values at full emphasis.Night 100% / Day 100% /
Supporting copy, card headers and hints on controls.Night / Day /
Readable placeholders, timestamps and other quiet details.Night / Day /
Latest-message previews beneath thread titles in the sidebar.Night / Day /
Disabled labels and decoration, not essential information.Night / Day /
Softer ink for paragraphs and other long passages.Night 100% / Day 100% /
Primary button labels and the reader’s name tag.Night 100% / Day 100% /

Icon

Let labels lead by giving resting icons quieter ink.

:1
:1
:1
:1
TokenUseOn app ground
Primary glyphs and icons in active or hovered controls.Night 100% / Day 100% /
Resting icons in toolbars, controls and list rows.Night / Day /
Supporting glyphs beside metadata and disclosure chevrons.Night / Day /
Disabled glyphs and marks that carry no information.Night / Day /

Fill

Step up the ink for hover, selection and press.

18%
14%
12%
8%
5%
3%
TokenUseOn app ground
Light hover wash for a quiet surface or row.Night 3% / Day 3% /
Shared hover wash for ghost controls and lists.Night 5% / Day 5% /
Selected rows and controls, and field focus halos.Night 8% / Day 8% /
A stronger fill for hover and pressed states.Night 12% / Day 12% /
Pressed rows, tabs and menu items while held.Night 14% / Day 14% /
Strong neutral control fills and filled track segments.Night 18% / Day 18% /

Stroke

Match the hairline to the edge it needs to define.

20%
15%
10%
7%
4%
TokenUseOn app ground
The quietest rules between items in one group.Night 4% / Day 4% /
Standard card borders, dividers and edges around images.Night 7% / Day 7% /
Structural borders for segmented controls and outlined tags.Night 10% / Day 10% /
Resting borders for outline buttons and interactive frames.Night 15% / Day 15% /
Crisp edges for tracks, swatches and chart rules.Night 20% / Day 20% /
Dividers between regions that share the same ground.Night Day
The continuous guide from a thread to its parent.Night Day
Resting field borders that clear 3:1 contrast.Night / Day /
The resting border around a sent message bubble.Night Day
A message bubble’s border on hover or while editing.Night Day
A subtle frame for containers without a surface step.Night Day
The quiet frame around a grouped status.Night Day
The inner edge of menus, popovers and dialogs.Night Day

Ranks per theme

Text and icon ranks use different opacities in each theme.

RankNightDay

Hues and intents

Use hues for marks and their paired inks for text.

HueTextMeaning and when to useContrast
Confirmed success, passing checks or a positive change.
Cautions and non-blocking problems, paired with warning icons.
Error, destructive action, crossed limit or overdue state.
HueTextMeaning and when to useContrast
Theme colour for the text caret, selection wash and accent chips.
Quiet ink for unread dividers and labels in dark theme.
Quiet accent ink for chat links in dark theme.
Fixed amber for waiting marks, unread dots, live signals and accent badge text.
Plan mode and neutral informational accents.
Ask mode and chosen green category tones. Use --success for confirmed outcomes.
Chosen yellow category tones. Use --warning for cautions.
Debug mode and chosen red category tones. Use --danger for errors and destructive actions.
Project identity colour for its icon and name in mentions.
Project identity colour for its icon and name in mentions.
Project identity colour for its icon and name in mentions.

Agents

Each agent colour identifies one agent. Its avatar body keeps its two gradient stops, and its name in a mention takes its paired text token.

BodyTextContrast

Washes, modes and status

Soft washes back badges, chips and callouts. Mode tokens distinguish composer modes, and status tokens colour row indicators and presence dots.

Preview
NewPassedDeprecatedFailedPlanAskDebug
Soft fills sit under their paired text ink. Accent soft mixes 12% of the theme hue.
Wire the tray stack
Choose a migration path
Build failed
Finished while you were away
Draft: onboarding copy
Running, waits for your answer, error, unread and idle.
TokenMeaning and when to use
tinted ground behind an attention badge or highlighted notice.
12% theme-colour wash behind an accent chip or tinted brand tag.
tinted ground behind a success badge or positive status pill.
tinted ground behind a warning badge or caution callout.
tinted ground behind a danger badge, error callout or destructive control.
hover ground for a soft destructive control under the pointer.
HueTextMeaning and when to use
Plan mode indicator and label ink.
Ask mode indicator and label ink.
Debug mode indicator and label ink.
TokenMeaning and when to use
Neutral ink for an active running glyph while work is in progress.
Fixed amber for the plain attention dot when a thread needs your answer.
Fixed amber for the unread dot on new or completed items, told from attention by its name and tooltip.
Red dot for a failed run or blocking error.
Transparent mark for quiet idle items so only active states claim attention.
Green presence dot when a person is reachable now.
Quiet neutral ink for a busy presence indicator, paired with a bar shape.

Charts

Keep the same colour for a series across charts and ranges.

TokenMeaning and when to use
First series slot, blue. Assigned by entity identity and kept consistent across charts.
Second series slot, red.
Third series slot, violet.
Fourth series slot, amber.
Fifth series slot, pink.
Sixth series slot, green.
Grouped overflow series past the first six, drawn in neutral icon ink.
Single unslotted series shown beside named slotted series.
Horizontal and vertical reference grid rules.
Axis tick labels and scale values.
Vertical reading rule following the active data row.
The wash under an area, and the halo of a reading's dot
A series or a column set back
A sequential ramp's lowest step
A sequential ramp's second step
A sequential ramp's middle step
A sequential ramp's fourth step
A sequential ramp's top step, the full paint
A plot's line
An inline chart's line, a loader's arc

Diff and syntax

Syntax and diff colours stay legible on the card surface.

−   return `${m}m ago`;+   return `${m}m`;export function relTime(at: number) {  if (elapsed < 30_000) return "Just now"; // under 30s}
TokenSampleMeaning and when to use
export functionLanguage keywords, control flow and declarations.
relTimeFunction, method and callable names.
atFunction parameters and named arguments.
numberTypes, built-in constants and immutable symbols.
"Just now"String literals and template text.
30_000Numeric literals and raw counts.
// under 30sCode comments, kept readable at 4.5:1 or higher.
( ) { } ;Brackets, operators and structural delimiters.
docs/motion.mdClickable links and references inside code blocks.
elapsedDefault code foreground for identifiers and plain text.
TokenSampleMeaning and when to use
+ returnText ink for added lines in a diff.
+ returnrow highlight for an added line.
+ returninline highlight for exact added words.
− returnText ink for removed lines in a diff.
− returnrow highlight for a removed line.
− returninline highlight for exact removed words.

Selection and focus

Selection uses the theme colour. Keyboard focus follows the shape and colour of the control.

Preview
Keep the active request intact.
Text selection ink over the wash
1.5px concentric focus ring, 2px outside a control

Focus across surfaces

Tab through the controls to see how focus looks on each surface.

Preview
Sidebar
Pane
Card
Elevated
Neutral linkAccent link