Versioning & Revisions
Design systems evolve — primary colors shift, font families change, and spacing scales tighten. Managing DESIGN.md with explicit versions lets both your team and coding agents see what changed between releases.
Spec version vs document version
Keep two distinct meanings clear when setting version in YAML frontmatter:
- Specification version (
alpha): indicates theDESIGN.mdformat schema version defined by Google Labs. - Document revision (
1.0.0,1.1.0,2.0.0): when versioning your own product’s design system in git or DesignMD Pro, use semantic versioning:- Patch (
1.0.1): typo fixes, clarified prose inDo's and Don'ts, contrast tweaks without breaking token names. - Minor (
1.1.0): new tokens, new component entries, addeddark.*palette keys, or backward-compatible refinements. - Major (
2.0.0): renamed token keys, rebrands changing primary colors/fonts, or removed components.
- Patch (
Diffing versions with the official CLI
Before merging a DESIGN.md pull request, run @google/design.md diff to inspect exact token additions, removals, and value changes:
npx @google/design.md diff DESIGN.md DESIGN-v2.mdCombine diff with lint in code reviews to verify that updated tokens do not leave broken {token} references or contrast regressions behind.
Tracking website revisions in DesignMD Pro
DesignMD Pro stores timestamped snapshots (website_design_systems) whenever an indexed website updates its design system. You can inspect revision history across four surfaces:
- Website detail page: switch versions with
?version=<ver>(for example/websites/linear?version=1.0.0) to inspect historical tokens and changelogs. Canonical URLs always consolidate to/websites/<slug>. - Site-wide Changelog & RSS: browse recent extractions and revision releases on the Changelog page or subscribe via
/rss.xml(JSON endpoint:GET /api/changelog). - Raw Markdown endpoint: fetch a specific revision via
GET /websites/<slug>.md?version=<ver>. - MCP & REST API: call
list_revisions(MCP) to listversion,isCurrent,linkedAt,changelog, and counts (tokenCount,colorCount,typographyCount), then passversiontoget_design_mdorGET /api/websites/<slug>?version=<ver>.
Free vs Pro revision visibility
- Free websites: every historical revision, changelog entry, and raw
.mdsnapshot is publicly accessible without signing in. - Pro websites: the latest revision’s changelog summary and public preview (prose, primary color, fonts, 8-color palette preview, and typography preview) are public. Viewing archived historical revisions, historical changelogs, and full token maps for Pro sites requires an active Pro subscription (or a Pro API key via MCP).
Next steps
- REST API & Markdown — query website versions and
/api/changelogprogrammatically - MCP Server Reference —
list_revisionsandget_design_mdparameters - Changelog — explore recent design-system revisions across the library
Last updated on