1 hour ago · Tech · hide

I’ve been working a lot with DESIGN.md files recently. A DESIGN.md file describes a design system: YAML front matter holds the design tokens (colors, typography, rounded corners, spacing and components) and the markdown body explains how to use them. I was surprised to find that there wasn’t a VS Code extension offering linting, autocomplete and a rich preview for them, so I built one. Open any file named DESIGN.md and the extension checks it as you type, helps you write token references, and can show the whole design system as a visual preview beside the editor. Features Linting 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, each flagged on the exact line. Quick fixes to add a missing name and to reorder sections into the spec’s order. Autocomplete for {colors.primary} style…

Commenting on Bubbles has been removed. Why? If you want to talk about this post, write to the author, use the comments on their blog if it has them, or reply with a "RE:" post on your own blog. Suggestions? feedback@bubbles.town