CSS Custom Properties Generator
Build a complete CSS design token system with colors, typography, spacing, shadows, and export to CSS, SCSS, JS, or Tailwind.
About this tool
Design a complete CSS custom properties (design token) system without writing code by hand. Organize tokens into seven sections: Colors, Typography (font sizes, families, weights, line heights), Spacing scale, Border Radius, Box Shadows, Z-Index layers, and Breakpoints. Add, remove, and edit token names and values in each section using the interactive table editor. A live preview panel shows color swatches, typography specimens, spacing blocks, and shadow examples that update as you type. Paste an existing CSS block into the Import panel to automatically parse all `--variable: value` declarations and populate the editor. Export your token system in four formats: a CSS `:root { }` block, SCSS `$variable: value` declarations, a JavaScript/TypeScript object literal, or a Tailwind `theme.extend` configuration block ready to paste into `tailwind.config.js`.
How to use
- 1 Click a section tab (Colors, Typography, Spacing, etc.) to start adding tokens.
- 2 Click 'Add Token' to create a new row — type the token name and value.
- 3 Watch the live preview update instantly as you edit values.
- 4 To import existing tokens, paste your CSS into the Import panel and click Parse.
- 5 Choose an export format (CSS, SCSS, JS, or Tailwind) and click Copy to clipboard.
Frequently Asked Questions
Visually build CSS linear and radial gradients and copy the ready-to-use CSS property.
Generate harmonious color palettes — complementary, triadic, analogous, and split-complementary — from any base color.
Generate harmonious color palettes from a base color using complementary, analogous, triadic, and other harmony rules.
Interactive searchable reference for 200+ Tailwind CSS v3 utility classes.