DESIGN.md
DESIGN.md is a plain-text file that describes a design system to coding agents: design tokens in YAML, and Markdown prose on how to apply them. Google Labs published the draft specification in April 2026, and it is still alpha.
Why it matters
An agent that reads only tokens knows the values but not their jobs. DESIGN.md puts both in one file: the spec treats the tokens as the normative values and the prose as the context for applying them, so an agent learns which color is for the main action and which is for text.
It is one file under version control. Google Stitch exports and imports it, and the open-source CLI lints it, checks WCAG contrast, compares two versions and exports the tokens to Tailwind or to the W3C DTCG format.
DESIGN.md on iOS and Android
Also called Design.md file, Stitch DESIGN.md. The same idea in each system, with the values Appetite UI gives it.
| Value | iOS | Android | Appetite UI |
|---|---|---|---|
| Name | No Apple term, no iOS section in the spec | No Material term, no Material section in the spec | Not shipped; tokens come as DTCG |
| Token groups | colors, typography, rounded, spacing, components, one set for both | The same set; the spec has no platform split | See below |
| Where iOS and Android differ | Written in prose, if at all | Written in prose, if at all | See below |
In Appetite UI
Appetite UI Code does not ship a DESIGN.md. Its tokens come as one W3C DTCG file with an output for each stack, and the agent kit’s skill holds a tokens reference with every token path, its Figma name and its light and dark values.
The two meet at DTCG, which is also one of the DESIGN.md CLI’s export targets. The platform split, iOS against Material in one theme, is where DESIGN.md has no field of its own.
The agent kit of Appetite UI Code
Example
A mobile app’s DESIGN.md sets colors.primary to #155DFC and rounded.md to 12px in its YAML, maps a button-primary component to {colors.primary}, and says in prose: one primary button per screen, at the bottom on iOS and Android alike.
Common mistakes
- Prose with no tokens, which leaves the agent to guess the values.
- Hex values typed by hand that disagree with the app’s theme file; generate the tokens from the one source the app already uses.
- Treating the format as stable; the spec is alpha and says changes are expected.
- One file for an app on both platforms that never says where iOS and Material differ.
Questions
What is DESIGN.md?
A format from Google Labs for describing a visual identity to coding agents in one file: design tokens in YAML front matter or YAML blocks, and Markdown sections such as Overview, Colors, Typography, Components and Do’s and Don’ts. The draft spec is open source under Apache-2.0.
What is the difference between DESIGN.md and AGENTS.md?
AGENTS.md tells an agent how to work on the repository: commands, conventions, rules. DESIGN.md tells it what the design is: the tokens and how to apply them. A project can have both, and AGENTS.md can point the agent to DESIGN.md.
Does Appetite UI ship a DESIGN.md?
No. Appetite UI Code ships its tokens as a W3C DTCG file with an output per stack, and its agent kit holds the rules and a tokens reference for the agent.
Sources
The pages the facts above rest on, each read November 27, 2026.