By Rui Simões · Code (opens in a new tab)
Search pages, pieces and blocks.
White and one warm grey scale, 50 to 990. Red, the status colours and cobalt are the only hues.
Inter for text in 6 sizes, Geist Mono for code. Weights 400 and 500.
Four control heights, 28 the default. Rows, pills, thumbs and the focus outline share named sizes.
6 steps in use, 2 to 16. Outer corner equals inner corner plus padding.
4px a step: the class number times 4. These are the steps pieces use most.
One page width with its gutters, the breakpoints pieces use, and App Shell's regions.
Hover and pressed shift tone, pressed sinks 1px. Rings only for focus and errors.
An outline on keyboard focus only. A field shows its edge and halo on any focus.
One solid square mark, one ring, one Switch.
One icon set, 16 grid, strokes always 1px.
Flat by default. Paper for things that float, a scrim behind dialogs.
Night is never brighter than 300.