Design system / Foundations
Foundations
Every colour, type size, corner, shadow and motion in Metapane comes from one set of named values, called tokens. Change a token and every screen that uses it changes with it. The live version of this page, with every token and component, is the gallery at /studio/design-system in the app.
Principles
Every screen is checked against these, in this order.
- Industry words. Use the names Figma, Adobe and Linear use. Don't coin terms.
- Least navigation. Do things in place, in few clicks, without extra screens.
- Clutter free. One control per job. Two states of one thing are one switch.
- Breathing room. One spacing scale, equal weight for things of equal rank, nothing that appears or moves on hover.
- Built around the task. Features follow the user's journey, not the tool's parts.
- Belongs to its place. A canvas, a chat and a form each get their own kind of control.
- Concise. Keep every meaning in fewer words.
- One, two or three sentences. One goes in place. The second is muted and shows on hover or keyboard focus. Three or more go behind an (i) button.
Colour

Three colours have one job each, and never stand in for each other:
- Ink
- The one accent: primary buttons, switches that are on, chips that are picked, focus rings.
- Purple (
--mp-ai) - Only for AI: Chat's suggestions, AI buttons, made pictures, AI settings. AI features are marked with ✦, never ★, because a star means favourite.
- Blue (
--mp-select) - Only for what's selected on the canvas.
Lines and fills are ink at low opacity, so the same token reads on paper, on the panel grey and on the board.
Note: A few colours stay raw on purpose, like the ends of the white-balance slider. Each one is listed, with its reason, in the design token test, so a new raw colour fails the build.
Type

One typeface, Geist, on a scale of nine sizes. Most of the interface uses sm (12 px) for controls and md (13 px) for reading. Labels and buttons are medium (500); titles are semibold (600).
Space, corners and shadows
| Scale | Values | Use |
|---|---|---|
| Space | 4, 8, 12, 16, 20, 24, 32, 40 px | Padding and gaps. Everything sits on the 4 px grid. |
| Corners | 4, 6, 8, 10, 12, 14, 16 px and full | Bigger things get rounder corners: a tag 4, a button 8, a card 10, a dialog 16, a pill full. |
| Shadows | 1 to 4, and drag | 1 a raised segment, 2 a floating toolbar, 3 a menu, 4 a dialog, drag something picked up. |
Motion
Motion shows what changed and where it went. It never bounces, and with reduced motion turned on, nothing moves.
| Token | Time | Use |
|---|---|---|
--mp-dur-fast | 120 ms | Hover, colour and fades |
--mp-dur | 160 ms | Switches and small moves |
--mp-dur-slow | 240 ms | Panels, layout, things that travel |
--mp-ease | ease-out | The one curve for almost everything |
--mp-ease-emphasis | slow settle | Long travel, like a panel opening |