hyperframes icon indicating copy to clipboard operation
hyperframes copied to clipboard

feat(skills): vendor 34 tokenized HTML presentation templates

Open vanceingalls opened this issue 6 months ago • 1 comments

Summary

Bulk-vendor 34 HTML slide-deck templates from zarazhangrui/beautiful-html-templates, tokenized with the --tp-primary / --tp-secondary / --tp-tertiary / --tp-accent contract so downstream code can re-theme each template at render time.

Each template ships with three files (plus an optional fourth):

  • template.html — the slide deck (1920×1080 deck-stage / vanilla DOM)
  • summary.html — picker-friendly preview slice
  • template.json — name, tagline, scheme/density metadata
  • deck-stage.js (10 templates) — web-component shim for templates that use it

Scope

  • 114 files, ~70k lines
  • One commit: feat(skills): vendor 34 tokenized HTML presentation templates
  • No new code paths — these files are loaded at runtime by the picker (PR #974) and CLI command (PR #975)

Why

This layer is mechanical and visually self-validating. Splitting it out keeps the rest of the stack reviewable:

  • Reviewers can skim the headers + spot-check a few files
  • Subsequent PRs (#972 — #975) carry the actual code changes
  • Bulk content out of the way

What's in the diff

The tokenization rewires each template's hard-coded palette to read from --tp-* CSS custom properties. The deck-stage.js shim is the same upstream component, with catch (e) and similar unused-binding patterns rewritten to bare catch {} so the repo's eslint pass stays green.

Test plan

  • [ ] Spot-check 2-3 random template.html files visually (open in browser) — they render with their authored colors
  • [ ] bunx oxlint skills/hyperframes/templates/presentations/**/*.js passes
  • [ ] No new code paths to test in this PR — visual + lint check is the surface

🤖 Generated with Claude Code

vanceingalls avatar May 19 '26 21:05 vanceingalls

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

vanceingalls avatar May 19 '26 21:05 vanceingalls