Skip to content

v1.3.0 — pros/cons slide type + type-scale refinements

Choose a tag to compare

@LeoHChen LeoHChen released this 31 May 22:42
v1.3.0
84fda88

build-deck: pros/cons slide type + type-scale refinements

New proscons slide type

Trade-offs render as two stacked, contrasting panels — pros in a light raised card (top), cons in an inverted dark card (bottom). Tonal contrast (no green/red) driven by theme-aware --pc-* CSS variables, with tuned overrides for Carbon, Dusk, Aurora (glass), and Brutalist so the split adapts natively across all 8 themes. Optional pros_label / cons_label / footer.

type: proscons
title: Build the renderer in-house?
pros: [Advantage one., Advantage two.]
cons: [Drawback one., Drawback two.]
footer: Optional recommendation.   # optional

The skill now mandates proscons for any trade-off (pros/cons, benefits/risks, for/against) rather than a plain bullet list.

Type-scale refinements (from deck review)

  • Hero title smaller (clamp(96-152px) -> clamp(68-108px)).
  • Vision line larger (18 -> 23px).
  • Body text +1.5px across every slide type.
  • Roadmap: renamed subnets / "SUBNETS / SCOPE" -> scope / "SCOPE".
  • Fixed stale "4 themes" doc references (the renderer has 8).

Verification

Rendered the proscons sample full-bleed across Terracotta, Carbon, Brutalist, Aurora, and Dusk — the light/dark split reads clearly on every theme; footer and page numbers render in Review mode and PDF export.

Issue #13 · PR #14 · design note in build-deck/docs/