Skip to content

Releases: beyondworks/lean-deck

lean-deck v2.1.0

Choose a tag to compare

@github-actions github-actions released this 21 Sep 05:37
ac1c244

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=1 viewer 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

Choose a tag to compare

@github-actions github-actions released this 16 Sep 13:59
3c55016

Added

  • Semantic tokens (tokens.ts) — slides and themes meet through meaning-level names
    (surface.raised, text.soft, accent.marker …). toSemantic, defineTheme and toCssVars
    (--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, Row and 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,
    with capture.js, export_html.py, insert_markers.py and check_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 / Deck types exported from kit.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.