Repository navigation
Releases: beyondworks/lean-deck
Releases · beyondworks/lean-deck
Release list
lean-deck v2.1.0
Added
- PDF export —
npm run export:pdf -- <deck>prints a whole deck to a vector PDF (one slide per 1920×1080 page)
through the new?print=1viewer mode and the Chrome DevTools protocol. No screenshots, no extra dependencies;
it fails when the page count does not match the slide count.
Changed
- The background grid is drawn as line paths instead of a CSS gradient. It looks the same on screen
and no longer turns into coarse tiles in PDF viewers such as Preview.
lean-deck v2.0.0
Added
- Semantic tokens (
tokens.ts) — slides and themes meet through meaning-level names
(surface.raised,text.soft,accent.marker…).toSemantic,defineThemeandtoCssVars
(--ld-*custom properties for anything that is not a React slide). - Viz parts (
viz.tsx) — 17 infographic components for explaining rather than decorating:
Myth,Panel,Chip,Tile,Arrow,StepRow,Bars,Fork,Doc,Stamp,Source,Lines,Rowand more,
with one spacing scale (GAP,STACK,FS). - Viz deck — every part in use, at
/deck?deck=viz. - Reusable viewer (
Viewer.tsx) — any number of decks,?deck=&i=&theme=&raw=1, ↑ ↓ theme cycling
without a reload,id="slide"on the frame for capture tools. - Claude Code skill (
skill/lean-deck) — script → deck → 1920×1080 check → standalone HTML →<<N>>cues,
withcapture.js,export_html.py,insert_markers.pyandcheck_markers.py(English## Script/(demo …)
and Korean## 본문/(시연 …)scripts both work). npm run check:layout— every slide of both decks in every theme at 1920×1080: text outside the frame and orphaned last words (Chrome, no extra dependencies).resolveTheme(id)with a safe fallback;Slide/Decktypes exported fromkit.tsx.- Release pipeline: CI on every push and pull request, tag-driven GitHub Releases,
npm run check.
Changed
- Gallery page redesigned around the idea: three layers, a live semantic-token switcher, the viz parts, then the themes.
- README rewritten with new renders.
- Demo deck copy tightened so no line ends with a single orphaned word in any theme.