Skip to content

v0.3.0

Choose a tag to compare

@jgt87 jgt87 released this 26 Oct 20:01
· 21 commits to main since this release

Added

  • Structured JSON export in the W3C Design Tokens Format 2025.10: grouped primitives (colour objects, {value, unit} dimensions, named font weights, shadow objects), a typography layer per element role and a component layer (background, text colour, radius) that alias the primitives, and the source's declared variables typed and aliased into the palette. The CSS export is generated from the same structure, with aliases as var() references.
  • Element style samples from websites and Storybook record their font family.

Changed

  • Atlases no longer capture content: element text, page titles, slide/PDF/Sketch text and quoted-string variables are never stored, and screenshots, image copies, rendered PDF pages, layout previews and Sketch schematics are only written with the new --screenshots flag. A shared sanitizer enforces this for every adapter.
  • Exports (PDF token sheet, JSON, CSS) contain design tokens only: no source name, file name, source type or text.
  • Image colour labels no longer include file names.
  • The viewer shows compact screen cards when screenshots aren't stored, and an Element column (tag or symbol name) instead of Text.

Fixed

  • SVG text elements report their fill as their colour (was the inherited CSS colour).

Requires Node 20+ and an installed Edge/Chrome (or PLAYWRIGHT_CHANNEL=chromium after npx playwright install chromium). Unzip, run npm install, then see the README.