feat(skills): hand-crafted design.html for each template
Summary
Hand-crafted design.html for each of the 34 vendored templates (PR #971 below). Each design.html is a self-contained rendering of the template's design system — cover, manifesto, palette, typography, surface, motion, background shader section, do/don't guidelines, and a templates index page.
Used by the design picker (PR #974) to preview the chosen template's design language at full fidelity in the fine-tune phase.
Scope
- 35 files (34 templates + 1
user-designscaffold) - ~30k lines, one commit per layer
- All
design.htmlfiles share the--primary/--secondary/--tertiary/--accenttoken contract
Why
design.html is the picker-facing design system for each template — the artifact reviewers will see in the picker preview. Splitting these out of the picker chrome PR (#974) means:
- The 30k of design pages can be reviewed by visual sample (open 2-3 in a browser)
- The picker code stays focused on the picker mechanics, not 34 individual designs
Token contract
Every design.html aliases its surface tokens off the four core role tokens:
--primary→ light canvas (paper / cream / off-white per template)--secondary→ dark ink (body text, borders, outlines)--tertiary→ muted neutral (chrome, labels, dim text)--accent→ the signal color (one element worth remembering)
Templates that need additional palette tokens (e.g. editorial-forest's pink for the topic-card treatment) alias them inside :root and never embed raw hex values in component styles.
What to spot-check
- Open
skills/hyperframes/templates/presentations/<slug>/design.htmldirectly in a browser for a few templates with different moods (mat, neo-grid-bold, editorial-forest, biennale-yellow, retro-windows) - Confirm the cover renders, the palette swatches are legible (each role has correct contrast against its surface), and the typography pairs make sense
- The
__PRIMARY__/__SECONDARY__/ etc. tokens are substituted at picker render time — opendesign.htmlstandalone and you'll see the literal sentinels; that's expected
Test plan
- [ ] Each
design.htmlopens without console errors (visual sample of 5 random templates) - [ ] Token substitution leaves no
__X__sentinels in rendered output once the picker injects values (covered by PR #974) - [ ] No new code paths added in this PR
Stack
Depends on #971. Followed by #973 (build scripts), #974 (picker chrome), #975 (CLI).
🤖 Generated with Claude Code
[!WARNING] This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite. Learn more
- #975

- #974

- #973

- #972
👈 (View in Graphite) - #971

main
This stack of pull requests is managed by Graphite. Learn more about stacking.