Glossary
Design tokens
Design tokens are named values for the basic decisions in a design, such as colours, font sizes and spacing. Each value is stored once under a name, and both design files and code refer to that name.
Why it
matters.
When a brand colour is typed into the code by hand in many places, nobody can change it safely. With tokens, the colour lives in one place under a name such as “primary colour”. Change the token and every button, link and heading that uses it updates together. Design and code also stay in step, because both read from the same list.
Tokens matter even more when AI tools write your code. Without them, an AI tool tends to pick a slightly different blue, a new font size and its own spacing on each screen it generates. With tokens in place, you can tell it to use only the named values, and the screens come out far more consistent.
How we
handle it.
In our Design for AI work, for apps built with tools such as Cursor, Lovable, v0, Bolt or Claude Code, we set up design tokens, a component library of ready-made interface parts, and a design.md file the AI tools build from. We then redesign the core screens as pull requests, which are proposed changes to your code.
Common
mistakes.
What we see go wrong most often.
- Naming tokens after their value, such as blue
- Creating tokens, then typing values in by hand anyway
- Making a separate token for every tiny variation
- Updating the design file but not the code
Questions
we get asked.
Are design tokens only for large companies?
No, a product of any size can use them. A small app might have a short list: a few colours, a set of text sizes and a spacing scale. Setting them up early is cheap, and it saves the slow job of hunting down mismatched values once the product has grown.
What is the difference between design tokens and a design system?
Design tokens are one layer of a design system. Tokens hold the basic values: colours, sizes, spacing. The design system builds on them with components such as buttons and forms, plus the written rules for using them. You can start with tokens and add the rest over time.
Keep exploring.
- Glossary
Design system
A design system is a shared set of reusable building blocks for a product or website, such as buttons, forms, colours and text styles, together with written rules for how and when to use each one.
- Glossary
Vibe coding
Vibe coding means building software by describing what you want to an AI tool in plain language and accepting the code it writes, often without reviewing that code closely.
- Glossary
Responsive design
Responsive design is a way of building a website so its layout adjusts to the screen it is viewed on.
Got a project
in mind?
brandon@flowlabz.com
Tell us what you’re building.
We’ll come back with a scope and a price within 48 hours.