How many layers of design tokens do you actually need?
I've seen setups with three tiers (raw values, semantic tokens, component tokens) and others that just have a flat list of named colours and sizes. The three-tier approach seems powerful but also adds a lot of indirection, and new people on the team find it confusing.
For a single product with one brand, is two layers enough? At what point did you find you needed component-level tokens?
Comments · 4
Two is usually enough for small teams: raw values and semantic tokens. Add a component layer only when a specific component keeps needing its own overrides. Extra tiers mean more places to look when a color is wrong.
For one product and one brand, two layers (raw values plus semantic names like "text-primary") is plenty to begin with. Component tokens earn their place when several components need to be restyled together, or when you add theming or dark mode, and they're easy to introduce later.
Newbie question: what's the practical difference between a "raw" token and a "semantic" one? Is it like blue-500 versus button-background?
Theming is the real test. If you need dark mode or a white-label customer, semantic tokens pay off right away. If not, a flat list may be enough.