Files
hyperframes/skills
Miao YangandClaude Opus 4.8 8a0cb7c24b feat(skills): per-preset caption skins + auto-load in product-launch captions
Give each hyperframes-creative frame-preset its own lower-third karaoke
caption look (caption-skin.html) and preview it in each frame-showcase.html.
Rework product-launch-video captions.mjs to load a project-local
caption-skin.html and inject brand tokens derived from frame.md — colors
mapped to a shared semantic vocab (--cap-ink/--cap-canvas/--cap-accent/
--cap-accent-2 by name + chroma), fonts to --font-display/--font-body, plus
the keep-out band geometry — filling the skin's reserved holes and wrapping
in a <template>. Falls back to the built-in pill when no skin is present.
SKILL.md Step 2 now copies the chosen preset's caption-skin.html into the
project so the look auto-applies; Step 5 documents the source.

Presets: blockframe, blue-professional, bold-poster, broadside, capsule,
cartesian, cobalt-grid, coral, creative-mode, daisy-days, editorial-forest
(biennale-yellow landed earlier). Each skin uses the shared --cap-* vocab
plus the preset's own border/shadow/corner/font/highlight identity.

Also fix the ink-color resolver to match "ink" only as a whole word-segment
so "pink"/"soft-pink" no longer resolve as the ink color.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-21 20:12:04 +08:00
..