Book a call

Design token generator

Everything you've made in the Lab, in one file: colour ramps, type scale, spacing, radius and layout grid, as CSS custom properties, a Tailwind config, SCSS variables or W3C DTCG JSON for your token pipeline.

  • Free, no sign-up
  • Runs in your browser
  • Saves as you go
Prefix optional, e.g. acme

How to use it

  1. Make your foundations

    Use the palette, type, spacing and grid tools. Each one saves as you go.

  2. Review them here

    Each card shows what's included. Select one to edit it in its own tool.

  3. Add a prefix and export

    An optional prefix (acme-color-brand-500) avoids clashes; copy or download the file.

Which format should I use?

FormatUse it when
CSS custom propertiesYou want tokens available in any stylesheet or framework, and themeable at runtime.
TailwindYour product uses Tailwind and you want the tokens as utility classes.
SCSSYour codebase uses Sass and compiles values at build time.
DTCG JSONYou run a token pipeline (Style Dictionary, Tokens Studio, a Figma variables plugin). This is the vendor-neutral format from the W3C Design Tokens Community Group.

Primitive tokens first

The file contains primitive tokens: the raw palette, sizes and steps. The next step in a design system is a layer of semantic tokens that name a job (color-text-muted, space-inset-card) and point at primitives. Product code uses the semantic layer, so themes and rebrands only change the mapping.

Questions

What is a design token file?

A file of named design decisions (colours, sizes, spacing) that code and design tools read from, so values are defined once and used everywhere.

What is the DTCG format?

The JSON format from the W3C Design Tokens Community Group. Tools like Style Dictionary and Tokens Studio read it, and plugins can turn it into Figma variables.

Can I import tokens into Figma?

Export DTCG JSON and use a Figma variables or tokens plugin that reads the format.

Does the export include semantic tokens?

No. It exports primitives. Map them to semantic tokens that name each job; see our guide to design tokens.

Want this done properly, for your product?

Our two-week audit turns your real screens into a token plan, a first-components list and a rollout plan.

See the audit