Write design system notes and tokens in one Markdown file. Use designmd to lint
that file and export tokens to CSS.
npx --yes @shanepadgett/design.md --helpnpx --yes @shanepadgett/design.md lint DESIGN.mdTreat warnings as failures:
npx --yes @shanepadgett/design.md lint --strict DESIGN.mdExport CSS custom properties:
npx --yes @shanepadgett/design.md export --format css --out design-tokens.css DESIGN.mdExport Tailwind-friendly CSS:
npx --yes @shanepadgett/design.md export --format css-tailwind --out theme.css DESIGN.mdUse --force to overwrite an existing output file.
Preview migration output:
npx --yes @shanepadgett/design.md migrate DESIGN.mdUpdate the file in place:
npx --yes @shanepadgett/design.md migrate --write DESIGN.mdPrint the full human-readable spec:
npx --yes @shanepadgett/design.md specPrint the compact agent-oriented spec:
npx --yes @shanepadgett/design.md spec --agentimport { exportDesignMd, lintDesignMd, parseDesignMd } from "@shanepadgett/design.md";See CONTRIBUTING.md.