v2.3.5 — webpage token fix, token gallery
v2.3.5
Fix — webpage token shipped an empty page
The webpage generator called page(title, bodyHTML) but page(title, css, body, script) expects the stylesheet second. The whole markup landed in <style> and <body> was the literal string undefined. Now fixed — the token emits the full page again.
Fix — blurry hero chips and screenshots
Landing hero chips used backdrop-filter with no fallback, smudging under software rasterization; removed. The example builder no longer forces swiftshader, so screenshots are sharp, and phone captures render at 480px.
New — interactive token gallery (wide + tall)
Each of the 14 tokens now has desktop and phone previews (docs/tokens/*.png), shown in an interactive gallery on the landing page with selector chips and prev/next — no more cramped grid where every example was a tiny thumbnail.
Also
- Regenerated all end-user examples + GIFs; engine bundles rebuilt; 44/44 tests pass.
- npm auto-publish runs on release (NPM_TOKEN set), so 2.3.5 goes live to the registry automatically.
🛒 GitHub Actions Marketplace
This release publishes the reimagine-it Design Health action to the GitHub Actions marketplace.
Quick start
- uses: Kayforkind/reimagine-it@v2.3.5
with:
path: "**/*.html"What it checks
| Category | Checks |
|---|---|
| Typography | Hierarchy levels, text measure, missing display fonts |
| Palette | Off-palette accents, unstyled ::selection, >5 non-neutral colors |
| Motion | Missing prefers-reduced-motion, missing :focus-visible, non-compositor animation |
| Content | Blank plates, placeholder labels, fabricated content |
| Structure | No hero SVG, missing landmarks, broken images |
| Performance | Missing content-visibility, CLS risk, DOM depth |
18 deterministic rules. No LLM. No API key.