Color
Every color is a token, written as var(--name). Each token has a day value and a night value. The swatch shows the value in the current theme, and the text gives day, then night.
bg
#f2f4f7 / #0e1218
Moon white. The page background, equivalent to the iOS grouped background; all cards and lists float on it.
surface
#ffffff / #181d26
Porcelain white. The surface for cards, list groups, and sheets, set on top of bg.
surface-sunken
#e8ebf0 / #222834
Cloud gray. Recessed areas such as input fills and segmented control tracks.
surface-hover
#f5f7fa / #1e2430
The fill for rows and menu items when hovering over surface. Appears only on devices with a mouse.
surface-raised
#ffffff / #303847
Small raised pieces: the selected block of a segmented control, a stepper button on hover. By day it matches surface and lifts by its shadow; at night the shadow can’t be seen, so it sits one step lighter than surface-sunken.
ink
#161b24 / #eef1f6
Blue-black. Titles and body text; usable on bg, surface, and surface-sunken.
ink-secondary
#4a5263 / #a9b1c0
Slate. Secondary text and values on the right side of list rows; usable on bg, surface, and surface-sunken.
ink-tertiary
#5f6778 / #8892a3
Smoke gray. Placeholders, footnotes, and timestamps; usable on bg, surface, and surface-sunken.
hairline
#d5dae2 / #2e3542
Plain rule. The divider between list rows; decorative only and carries no meaning.
border-control
#7e8696 / #6c7687
Control borders and the off-state track of switches; at least 3:1 on bg, surface, and surface-sunken.
tint
#1f4fa8 / #8fb4ff
Azurite. The only interaction color in the system: primary buttons, links, selected states, and switches in the on state. When used as text, usable on bg, surface, and tint-wash.
tint-hover
#1a4391 / #a8c5ff
The fill of tint-filled buttons on hover; on-tint still sits on top.
on-tint
#ffffff / #0e1218
Text and icons on a tint fill.
tint-wash
#e3ebfa / #1c2a47
Azurite wash. The background for secondary buttons, selected rows, and info messages, with tint or ink text on top.
seal
#b83224 / #ff8a75
Cinnabar, for text and lines: error text and borders, delete items in a menu, the frame and characters of a relief seal. Use only one per screen; usable on bg, surface, and seal-wash. Large fills use seal-fill.
seal-fill
#b83224 / #c8402e
Cinnabar as a fill: the face of an intaglio seal, numbered badges, delete buttons, the logo. By day it matches seal; at night seal is lightened to work as text and would look bright and pink over a large area, so fills use a deeper cinnabar.
seal-hover
#9c2a1e / #b83224
The fill of seal-fill buttons on hover; on-seal still sits on top.
on-seal
#ffffff / #ffffff
Text and icons on a seal-fill ground. White in both themes, so an intaglio seal stays white on cinnabar.
seal-wash
#fbe9e6 / #40201b
Cinnabar wash. The background for error messages, with seal or ink text on top.
jade
#24705a / #7fd1b0
Bamboo green. Success and completion; always paired with a word or icon, never distinguished by color alone. When used as text, usable on bg, surface, and jade-wash.
on-jade
#ffffff / #0e1218
Text and icons on a jade fill.
jade-wash
#e2f2ec / #16332a
Bamboo green wash. The background for success messages.
amber
#f2b632 / #f5c451
Gamboge. The fill color for warnings; use only as a fill, not as text on light backgrounds.
on-amber
#2a1d00 / #2a1d00
Text and icons on an amber fill.
amber-ink
#8a5a00 / #f5c451
Warning text and icons; usable on bg, surface, and amber-wash.
amber-wash
#fbf1d9 / #3a2e10
Gamboge wash. The background for warning messages.
gold
#836427 / #d9b36a
Gold ink. Gold-line accents such as stitches, fret patterns, and title slip borders; also usable for signatures and small text for solar terms, on bg, surface, and surface-sunken. Not for buttons or status.
pattern
#cfdaf0 / #2a3754
Pattern color. Large-area background patterns such as the wave pattern, drawn on surface or bg; purely decorative, with no text on top.
focus
{tint} / {tint}
Keyboard focus ring: 2px solid, offset 2px, at least 3:1 on all surfaces.
material
rgba(255, 255, 255, 0.72) / rgba(24, 29, 38, 0.72)
Frosted glass material. The base of navigation bars and tab bars, with a 20px background blur.
scrim
rgba(14, 18, 24, 0.45) / rgba(0, 0, 0, 0.6)
The scrim behind overlays.