CSS Variables & Design Token Generator

Convert DESIGN.md into native CSS custom properties without requiring Tailwind or a component library.

Paste or drop a DESIGN.md file (up to 1 MiB). Content is parsed only in this browser, and results update automatically as you edit.

Paste a DESIGN.md spec or drop a file to generate the output.

How to use this tool

  1. Prepare your design spec

    Use a DESIGN.md with YAML front matter, not a website URL or a plain feature request. No file yet? Load the example and replace its colors, typography, radii, and spacing.

  2. Review the results

    Fix errors on the right first, then review warnings. Output reflects the tokens actually defined in your spec; missing design details are not filled in automatically.

  3. Use it in your project

    Add the generated :root variables to your global stylesheet and reference values with var(--primary). Dark tokens produce .dark overrides; your app must toggle that class.