Design tokens
Design tokens are named values for colour, type, spacing and other style choices, stored once so design files and code both read from the same source.
Why it matters for a startup
Tokens turn style choices into names. Instead of a hex code copied in forty places, the product says brand-primary and the value lives in one spot.
That makes a rebrand or a dark mode a change to the tokens rather than a hunt through every screen. It also stops design and code from quietly disagreeing.
How we handle it
We define a small set first: colours, type sizes, spacing steps, radii and shadows. We name them by purpose, such as text-primary, not by value, such as grey-900.
Hand them to engineers in the format their code uses, so the same names appear in both places. They are the base layer of the component library.
Example
A product uses one blue for links and buttons. We call it action-primary. When the brand blue changes, we edit that one token and every button and link updates.
Common mistakes
- Naming tokens after their value, so the name breaks when the value changes.
- Creating hundreds of tokens before the product needs them.
- Keeping tokens in the design file only and never in code.
- Allowing one-off values that skip the tokens.
Related terms
Related services
Questions founders ask
Want this designed for your product?
Book a 30-minute call. You leave with a clear plan and a fixed price, and no obligation.
- Monthly retainer, pause or cancel any time