[GitHub Trending] google-labs-code/design.md
Scored daily by a customisable AI persona to surface the most relevant engineering leadership news.
Novel format for design system persistence in coding agents, highly actionable and aligned with AI-assisted development.
Google's DESIGN.md specification introduces a structured format that combines YAML front matter for machine-readable design tokens with Markdown prose for human-readable rationale, enabling coding agents to persistently understand and apply a visual identity. The spec includes a linting tool (`npx @google/design.md lint`) that validates tokens, checks WCAG contrast ratios, and outputs structured JSON findings, plus a diff command for regression detection. Token types cover colors, typography, spacing, and component references, with a defined section order and support for CSS color formats like hex, `rgb()`, and `oklch()`.
google-labs-code