Skip to the gist
aiBytes_

← Back to Issue 21

GitHubFirst covered Issue 21

google-labs-code/design.md

Source

DESIGN.md is a Google Labs format for handing a design system to a coding agent: exact tokens in YAML front matter and the reasoning behind them in markdown prose.

Stats

(As of 3 Dec 2026)
Stars
29k
Forks
2.3k
Contributors
26
Open issues
28
Created
Apr 2026
Language
TypeScript
Licence
Apache-2.0
  • Tokens cover colors, typography, corner radius and spacing, so the agent uses exact values rather than guessing.
  • The prose explains why each value exists and where to use it, such as which color is reserved for actions.
  • A CLI lints the file, catches broken token references, checks WCAG contrast and reports findings as JSON an agent can act on.
  • A diff command compares two versions of a design file.

Try it

npx @google/design.md lint DESIGN.md

What's open

  • Users ask how to describe light and dark modes or several themes in one file. issue
  • Requests for motion tokens and component variants would widen the spec beyond static styling. issue
  • Some find that facts get written twice, once in the front matter and again in the prose. issue
  • Whether a project should hold one DESIGN.md or several is still unsettled. issue

Appeared in

Issue 21

More from Issue 21