Skip to content

v1.4.0 — proscons grid subtype

Choose a tag to compare

@LeoHChen LeoHChen released this 31 May 23:27
v1.4.0
a56ccf9

build-deck: proscons grid subtype (multi-option comparison)

The proscons slide type now compares several options that each carry their own pros and cons.

Grid subtype

Add an options[] array and proscons renders N side-by-side split cards — each option a light PROS zone over a dark CONS zone, with a title / role header and an optional accent ring on the leading option:

type: proscons
title: Business model — options, with trade-offs
options:
  - title: B2C
    role: Direct to user
    pros: [Fastest feedback and brand, Viral reach in AI-native circles]
    cons: [High CAC, Fragile retention]
  - title: B2B2C
    role: Current hypothesis
    accent: true
    pros: [...]
    cons: [...]
footer: ...            # optional; footer_emphasis: true for the callout box
  • Reuses the same --pc-* tonal variables; wired into the per-theme card overrides (Aurora glass, Brutalist sharp) and the Present-mode entrance cascade, so it adapts across all 8 themes.
  • Absent options, the original single stacked pros/cons layout (v1.3.0) is unchanged.

Issue #15 · PR #16 · design note in build-deck/docs/