Skip to content

A token workflow with the free tools

Go from one brand colour to colour, type, spacing and motion tokens for Tailwind CSS v4 or any DTCG-aware tool, using ExonUI's free tools in order.

DocsUpdated 2026-11-12
Browse docs

What you'll end up with

A set of design tokens (named values for colour, type size, spacing and motion), exported as a Tailwind CSS v4 @theme block, plain CSS custom properties, or DTCG JSON. The palette, type scale, spacing scale and easing tools each export all three, and every tool runs in your browser, so nothing you enter is uploaded.

Tip

You can use any tool alone. The order below is the one that makes later choices easier.

The steps

1. Colour: the palette generator

Give the palette generator one colour. It builds an 11-step OKLCH scale in which contrast follows the step numbers, for every hue.

2. Check pairs: the contrast checker

Test the text and background pairs you'll actually use in the contrast checker. It checks WCAG 2.2 AA and AAA, and suggests the closest colour that passes when a pair doesn't.

3. Type: the type scale generator

The type scale generator builds a modular scale with line heights and fluid clamp() sizes, and shows how it behaves when someone zooms the page.

4. Spacing: the spacing scale generator

The spacing scale generator builds a scale on a grid or a ratio and checks it against WCAG's target-size rules, with a layout preview.

5. Motion: the easing editor

Shape a cubic-bezier() curve, or a spring written as CSS linear(), in the easing editor, and preview it on movement, scale and fade.

6. Combine: the token converter

The palette, type scale and spacing scale tools each have an Open in token converter link. The token converter reads and writes DTCG 2025.10 JSON, CSS custom properties and Tailwind v4 @theme, checks the file and points to the line of any problem, so you can merge the pieces into one file.

Hand the tokens to your agent

Paste the exported tokens and ask your agent to use them. Asking for a replacement, not an addition, keeps old values from lingering:

Prompt
Replace the colour, type and spacing values in globals.css with these tokens, keeping the existing names where they match. Don't add any other values.

[paste the exported tokens]