Design Token

A design token is a named variable holding one design decision, such as a colour, a spacing step, or a type size, stored once and referenced everywhere. Changing the token changes every component that uses it, which is what makes a rebrand a data edit rather than a redraw.

Last reviewed

Naming is the whole trick

Tokens named after their appearance stop being useful the moment the appearance changes. A token called blue-500 used for every primary action becomes a lie the day the brand colour turns green.

Name by role instead: colour-action-primary, space-section, text-heading-lg. The name says what the value is for, so the value can change without the name becoming wrong.

A minimum viable token set
CategoryExample nameExample value
Colourcolour-action-primary#1E44B8
Spacingspace-section96px
Type sizetext-heading-lg40px
Radiusradius-card8px
Breakpointscreen-md768px

A usable set

  • Colour, by role rather than by hue
  • Spacing, as a fixed scale rather than arbitrary values
  • Type sizes and line heights, as a scale
  • Radii, borders, and shadows
  • Breakpoints, named once and reused

In Webflow and in code

Webflow variables are design tokens in practice, and treating them that way keeps a large site consistent. In a code base the same tokens live as CSS custom properties or a theme file, which lets a design system stay in step across both a marketing site and a product.

Why it matters for B2B marketing teams

Tokens are what make a rebrand affordable rather than a rebuild. For a B2B company likely to refresh its brand every few years while keeping the site, the difference between a token change and a redraw across hundreds of pages is weeks of work.

Frequently asked questions

What is the difference between a design token and a variable?+

Technically none. Token is the design-system term for a variable that holds a design decision and is shared across tools and platforms. The distinction is intent: tokens are meant to be the single source of truth, not a local convenience.

How many tokens should a design system have?+

As few as the brand genuinely needs. A handful of colour roles, one spacing scale, one type scale. Large token sets usually mean the underlying design decisions were never actually narrowed down.

Related terms

←Back to Glossary