Why should you use design tokens?

Oliver Lindberg
Written by Oliver Lindberg
Dec 22, 2025

Design tokens might sound like trendy jargon, but they actually solve real problems that slow teams down when building digital products. 

In this post, I’ll give you a plain-English design tokens introduction, explain why design tokens matter, and walk you through practical ways to use them in your design systems. 

What are design tokens?

Short answer: Design tokens store the key design decisions your product relies on – colors, typography sizes, spacing, shadow rules, etc. Everything that defines your product’s look and feel is stored as code-friendly variables. 

Jina Anne, who coined the idea while working on Salesforce’s pioneering Lightning Design System, put it nicely:

“Design Tokens are the visual atoms of the design system – specifically, they are named entities that store visual design attributes. We use them in place of hard–coded values in order to maintain a scalable and consistent visual system.”

In other words, instead of hard-coding #ff6b6b into 10 places, you define --color-primary once, and then reference that token everywhere. Unlike standard style guides, design tokens translate design language into machine-readable values, enabling designers and engineers to speak the same language. 

Design tokens for design systems: why they matter

Here’s the thing: Design systems work best when teams share the same vocabulary, and tokens give you that vocabulary. They reduce guesswork, prevent tiny inconsistencies from creeping in, and make global updates significantly less painful. Want to change your brand color? Update one token, and the whole product updates:

Here’s why design tokens matter and what they do for you:

  • Make your design system scalable. You won’t need to hunt for every instance of a color or spacing value. 
  • Speed up development. Developers use tokens directly in CSS, JavaScript, or platform-native styles. 
  • Create tighter design-developer collaboration. Tokens act as a contract everyone can see and use. 

If you want more background on why design tokens form a “single source of truth”, check out zeroheight’s basic introduction to design tokens. 

Real examples that make the point

Imagine a product with a “danger” color token called color-danger. If a product manager decides to make alerts more subtle, you can change color-danger once, and every alert, badge, and CTA that references it will update accordingly. No hunting through components. 

Or consider spacing: Change a single spacing token, and the rhythm across your whole UI shifts consistently. That kind of control saves design reviews and rollout time. 

Design systems basic: where tokens sit in your stack

In the simplest design systems basic architecture, you have patterns, components, guidelines, and documentation. Tokens sit at the core. Treat them as the foundation – everything else builds on top. When your tokens stay organized, components behave predictably across teams and platforms. 

Start small: colors, type, spacing, border radii, and elevation. As your product grows, add more tokens for motion, responsive breakpoints, and iconograph rules. And name tokens semantically: button-primary-bg over blue-500. Semantic names make future changes easier and give context to people who aren’t familiar with your color palette. 

One powerful technique to keep things flexible is aliasing. You build semantic layers so higher-level tokens resolve to lower-level ones, making tokens both contextual and composable.  For example:

$blue500: #0000FF  

$brand-primary: $blue500  

$button-color-background-primary: $brand-primary  

That setup means you can change your primary brand color, or switch the shade of blue, with minimal edits and have the change cascade down automatically. On the flipside, designers and developers using the tokens never have to guess which value to use. They pick the token that matches intent (button-color-background-primary), and the aliases ensure the right raw color flows through. A quick caveat: Don’t over-alias – too many layers can make debugging harder. 

If you use Figma workflows, zeroheight has a handy guide about structuring Figma variables and connecting token sets into your docs – useful when you want tokens to be discoverable, not buried. 

A quick design tokens introduction: how to get moving

You don’t need to flip your whole product to tokens overnight. Try this simple path:

  1. Inventory: Export styles from your design files (colors, type, spacing). 
  2. Pick a format: JSON or CSS custom properties are common starting points. 
  3. Name things semantically: Describe the purpose, not the color. 
  4. Publish: Share tokens in a central place so everyone can use them. 
  5. Iterate: Refine names and structure as your system grows. 

Use automation where you can. Tools can sync tokens from your design app to code repositories, which reduces manual copy-paste and keeps everyone aligned. 

The token spec keeps evolving, and the post What’s new in the Design Tokens spec explains the changes to formats and tooling you’ll want to know about.

If you’d like to see tokens flow straight into a developer workflow, zeroheight explains how teams can use the Tokens Manager to link token sets directly into codebases. Also watch this video on how to use the Tokens Manager with GitLab, GitHub, and/or Figma.

Common traps and how to avoid them

Tokens save friction, but teams still trip up sometimes. Watch out for:

  • Overly specific tokens. Don’t create card-header-title-font-size-compact. Keep things reusable.
  • Duplicate names. Agree on a naming convention early, and stick to it.
  • Poor documentation. Tokens need context. Show when to use each token, and include examples and code snippets.
  • Token drift. Automate your syncs so tokens reflect actual designs and don’t diverge between design files and code.

If you want to see how tokens can turn from a help into a headache when teams over-engineer, mismanage naming, or let tokens diverge from code, read Murphy Trueman’s post When design tokens become technical debt. It walks through the warning signs and governance fixes in plain language.

Measuring whether tokens actually worked

You can tell whether your design tokens have been successful by looking for these signals:

  • Fewer visual inconsistencies in production
  • Faster implementation of UI changes
  • Less back-and-forth between design and development
  • Easier theming and customer-branding rollouts

Those are the scoreboard metrics you can use to prove tokens pay back the upfront work. 

Start small, think systematically

Design tokens unlock consistency, speed, and smoother collaboration. But they don’t need to be perfect on day one. Start with a small, meaningful set, document it in a shared hub like zeroheight, automate where you can, and iterate. 

Tokens grow with your system. When you publish token docs and link to solid how-tos (like the ones in this article), adoption climbs, and your design system starts paying dividends.

Tokens need tidy docs to get used, and we can help you make token documentation and distribution straightforward. Learn how to use design tokens with zeroheight, and how to import, automate, and publish tokens from Figma, so teams can stop guessing.

Oliver Lindberg
Oliver Lindberg
​​Oliver is an independent editor, content strategist, and founder of the Pixel Pioneers events series. He has been involved in the web design and development industry for over 20 years and helps businesses across the world create content that connects with their customers. Oliver is particularly passionate about inclusive design, sustainability, and tech for good projects.
Try zeroheight
The design systems platform that keeps teams and agents in sync
Start for free
Share this post