Changelog
Releases are driven by GitHub Releases.
Each published release also triggers an automated npm publish with
provenance,
so every version on the npm registry is cryptographically linked to a
specific commit and GitHub Actions run.
Upcoming (main)
- Full CI / publish / Pages automation under
.github/workflows/. - Documentation site at
docs/powered by Just the Docs with a customparchmentcolor scheme. - BREAKING: Removed legacy
--design/ single-design session flow. Use--design-lightand--design-dark(CLI) and/design light|dark ...(chat mode).
0.2.0-beta.1
BREAKING: DESIGN.md parsing has been rewritten to follow Google’s
official DESIGN.md spec exactly. The
legacy prose-heuristic parser has been removed; a DESIGN.md must now ship a
YAML frontmatter block (between --- lines) that declares its design tokens.
Any DESIGN.md authored in the old prose-only style (bullet lists under
“Color Palette & Roles”) will no longer parse and will produce a
DesignParseError: NO_YAML_FOUND. Migrate by wrapping the normative tokens
in YAML frontmatter; see docs/designs.md for the format and
src/designs/README.md for a worked example.
Highlights:
- New YAML parser in
src/design.tsthat implements the full spec surface:colors,typography,rounded,spacing,componentswith{token.path}reference resolution. - Per-level typography scale (
--type-h1-*,--type-body-md-*,--type-code-*, etc.) that lets a DESIGN.md author retune every heading, body, and code selector without touching the package’s CSS. - Component containers in markdown:
::: button-primary,::: card,::: chip, etc. consume the resolvedcomponents.*tokens as CSS custom properties. - All bundled fixtures (
apple,figma,linear,nike,stripe,uber,vercel) rewritten as spec-compliant YAML DESIGN.md files. The Claude baseline (src/designs/claude.md) is also spec-compliant. npm run verify:designnow checks hex validity, required tokens (colors.primary,typography.body-md), reference resolution, plus five negative paths (no-YAML, YAML-syntax-error, duplicate## Colors, unresolved ref, invalid color).- New
npm run verify:visualsmoke-tests the full DESIGN.md -> PDF -> PNG pipeline against checked-in baselines inscripts/baselines/. - Dimensions accept
ptand%in addition to the spec’spx | em | rem– a PDF-specific extension documented in docs/designs.md.
0.1.1
Broader DESIGN.md parsing so files authored in generic functional
English (not just the Claude dialect) resolve their palette correctly.
- Parser now reads both the name BEFORE the hex and the description AFTER
the hex when deciding which token slot a color belongs to. Descriptions
like
All text, all solid buttons, all bordersnow populatetextPrimary,brand, andborderSoftsimultaneously. - Expanded the role-synonym table with universal functional vocabulary
(
page background,card surfaces,primary cta,active states,divider, …) while keeping the legacy Claude-specific names for back-compat. Zero new brand names were added. - Compound font labels are parsed:
Body / UI:,Monospace / Labels:,Display / Buttons:now all resolve correctly. - The dark-palette filter no longer mis-classifies descriptive prose
such as
text on dark surfacesas dark-mode role lines. - New
npm run verify:designscript and fixture corpus undersamples/design-fixtures/guard the parser against regressions.
0.1.0
Initial public snapshot.
- Claude/Anthropic-inspired editorial base design.
- Dynamic
DESIGN.mdparser (getdesign.md integration). - Interactive chat mode with slash commands, ghost hints, and a live progress bar per file.
- 3D gradient welcome banner.
- Mermaid, KaTeX, admonitions, footnotes, task lists, GFM tables.
- Light and dark modes, full-bleed canvas, watch mode.