DESIGN.md Generator
Create AI-ready DESIGN.md files for Google Stitch, Claude Code, Cursor, and Copilot — define colors, typography, spacing, and components for AI tools.
Updated May 2026
Project Basics
Name your project and describe its overall visual intent.
Describe the intended visual feel. AI agents use this to set the tone.
How the DESIGN.md generator works
9-section wizard, download in seconds
1. Fill in the basics and the color palette
Project name, tagline, visual theme in plain language, and colors by semantic role (primary, error, success).
2. Configure typography, layout, and components
Fonts, modular type scale, spacing, border-radius, shadows, and component variant patterns.
3. Download and commit
Copy or download the complete DESIGN.md file and drop it in your project root.
What this DESIGN.md generator does
All 9 sections of the official spec, guided step by step
Step-by-step wizard
Walks through the 9 sections of the Apache 2.0 spec so you don't have to memorize the file structure.
Colors by semantic role
Primary, surface, error, success — for light and dark mode, not just loose hex values.
Modular type scale
Minor third, perfect fourth, golden ratio — mathematically consistent font sizes generated for you.
Accessibility included
Target WCAG level, minimum contrast ratios, focus ring color, and touch target size.
The 9 sections of the spec
What each part of the generated file covers
When you'll use this
The most common scenarios among people using this tool
Starting a new project with AI
Drop DESIGN.md in the root before the first component — every UI the agent generates follows your rules.
No more repeating specs in every prompt
Write your primary color, font, and border-radius once instead of retyping them in every new prompt.
Google Stitch workflows
Export tokens from Figma into DESIGN.md so every Stitch generation matches your system automatically.
Switching between AI coding tools
DESIGN.md travels with the project when you move between Cursor, Copilot, and Claude Code.
Common mistakes
Assuming it replaces Figma
They're complementary — DESIGN.md covers the specification and AI handoff, not visual collaboration.
Skipping the accessibility section
Without a minimum contrast ratio and WCAG level defined, AI agents have no constraint pushing them toward accessible UI.
Confusing it with design tokens
DESIGN.md goes further than tokens — it includes visual intent in natural language and component patterns, not just named values.
Why use this generator
The wizard walks you through the 9 sections of the official spec with sensible defaults, instead of you writing the markdown by hand from a blank page.
It's natively compatible with Google Stitch and doubles as a context file for Claude Code, Cursor, and Copilot — all of them read files in the project root automatically.
DESIGN.md vs. README.md vs. Design Tokens
Complementary formats, different purposes
Frequently asked questions
It's a markdown file that stores a project's visual rules — colors, typography, spacing, and components — in a structured format AI agents can read and follow. It was created by Google Labs for Stitch and released open source under Apache 2.0.
Resources
Official documentation for the DESIGN.md spec, maintained by Google Labs.
A curated collection of real DESIGN.md files from popular brand design systems, for reference.
The open source license the DESIGN.md spec is published under.
Related Tools
- Color Palette Generator Design Generate harmonious color palettes from any base color. Choose Analogous, Complementary, Triadic or Tetradic harmony — export as CSS variables or JSON.
- Color Contrast Checker Design Free color contrast checker — verify WCAG 2.2 AA and AAA compliance instantly. Live preview, color blindness simulation, and accessible color suggestions....
- Color Converter Design Convert colors between HEX, RGB, HSL, and CMYK instantly. Free online color picker with WCAG contrast checker and palette generator.
- Color Palette from Image Design Extract color palettes from any image — get HEX, RGB, HSL codes and export as CSS variables, Tailwind config, JSON, or PNG. 100% client-side, no upload.
- CSS Box Shadow Generator — Neumorphism, Glassmorphism & Tailwind Design Free CSS box shadow generator with live preview. Build shadows, neumorphism, glassmorphism effects. Export to CSS, Tailwind, or CSS variables. No signup.