Repository navigation
v0.3.0
Added
- Structured JSON export in the W3C Design Tokens Format 2025.10: grouped primitives (colour objects,
{value, unit}dimensions, named font weights, shadow objects), atypographylayer per element role and acomponentlayer (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 asvar()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
--screenshotsflag. 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.