Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DESIGN.mdNew to Visual Studio Code? Get it now.
DESIGN.md

DESIGN.md

coliff

|
1 install
| (0) | Free
| Sponsor
Write, validate and preview DESIGN.md design system files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DESIGN.md

VS Code Marketplace version VS Code Marketplace installs Open VSX version Open VSX downloads

Write, validate and preview DESIGN.md files in VS Code.

A DESIGN.md file describes a design system: YAML front matter holds the design tokens (colors, typography, rounded, spacing, components) and the markdown body explains how to use them.

Features

  • Validation with the official @google/design.md linter. Broken token references, missing primary colors, low contrast, unused tokens and out-of-order sections show up in the Problems panel as you type.
  • Front matter checks for a missing or empty name and duplicate keys (for example the same token twice under colors), each flagged on the exact line.
  • Quick fixes to add a missing name to the front matter and to reorder sections into the spec's canonical order.
  • Completions for {colors.primary} style token references inside the front matter.
  • Hovers that show the resolved value of a token reference.
  • Color swatches and a color picker for every hex value under colors.
  • Live preview with color swatches, typography samples, spacing and radius scales, component previews, the rendered prose and the lint results.
  • Markdown preview shows the front matter as a table at the top, with color swatches for hex values, CSS colors, and {colors.*} references.
  • Snippets for front matter, tokens, components and the standard sections (type design-).
  • New DESIGN.md File command that creates a spec-valid starter file.

The extension activates for any markdown file named DESIGN.md.

Commands

Command Description
DESIGN.md: Open Preview Open the visual preview in the current editor group
DESIGN.md: Open Preview to the Side Open the visual preview beside the editor
DESIGN.md: Validate Re-run validation and open the Problems panel
DESIGN.md: New DESIGN.md File Create DESIGN.md in the workspace root
DESIGN.md: Fix Section Order Reorder sections to match the spec

Settings

Setting Default Description
designMd.validate.enable true Validate DESIGN.md files
designMd.validate.contrastRatio true Warn about low-contrast component colors
designMd.validate.debounceMs 300 Delay before re-validating after an edit
designMd.preview.contrastBadges false Show on-white and on-black contrast badges under each color in the preview
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft