diff --git a/skills-manifest.json b/skills-manifest.json index b6cc82c519..d70bd7a6a2 100644 --- a/skills-manifest.json +++ b/skills-manifest.json @@ -6,7 +6,7 @@ "files": 3 }, "hyperframes": { - "hash": "e8373632c84a7187", + "hash": "cca611faf7aaea9a", "files": 81 }, "hyperframes-cli": { diff --git a/skills/hyperframes/references/captions.md b/skills/hyperframes/references/captions.md index db13fc7e3e..a26bf33693 100644 --- a/skills/hyperframes/references/captions.md +++ b/skills/hyperframes/references/captions.md @@ -32,7 +32,7 @@ tl.set(group, { opacity: 0, visibility: "hidden" }, end); - Size each group to fit: `window.__hyperframes.fitTextFontSize(text, { fontFamily, fontWeight, maxWidth })` returns `{ fontSize }`. Defaults: `maxWidth` 1600 landscape, 900 portrait; base 78, minimum 42, step 2. When a word scales up for emphasis, divide `maxWidth` by that scale. - A full-width absolute container, centred with text alignment. Never `left: 50%; transform: translateX(-50%)`, which clips at the frame edges. - `overflow: visible`, not `hidden`, which cuts off scaled words and glows. -- Landscape: 80–120 px from the bottom. Portrait: about 600–700 px from the bottom. Never over the speaker's face; inside the 80% title-safe box. +- Landscape: 80–120 px from the bottom. Portrait (1080×1920): the bottom edge of the caption at least 672 px from the bottom (y 1248), the lowest every 9:16 safe area allows. Never over the speaker's face; inside the 80% title-safe box. - Position each group absolutely. In a flex column a group hidden with `visibility: hidden` still takes space, so the next one lands lower. In a stack that accumulates, groups in one block share one exit time, or the stack reflows. - Fade the group or its words, not both: the opacities multiply and read as a pop. A gradient or `background-clip: text` fill goes on the inner text span, not the transformed container. - Over footage, choose the blend by the brightness (0–255) behind the text: under 60 `screen`, 60–180 `overlay`, over 180 `normal` with opaque colour. Plain subtitles above brightness 60 get a scrim sized to the text (30–40%), never a full-width bar. diff --git a/skills/hyperframes/references/types/vertical.md b/skills/hyperframes/references/types/vertical.md index e482c2c78a..cb3c2521ca 100644 --- a/skills/hyperframes/references/types/vertical.md +++ b/skills/hyperframes/references/types/vertical.md @@ -4,7 +4,7 @@ Made at 1080×1920 when the request or the platform says vertical; a landscape f ## The platform's own UI -The app draws over the frame. On 1080×1920: nothing in the top 168 px (status and search bar); every word and the product inside the band from 168 to 1330 px; below 1330 px (caption, handle, buttons) only texture or decoration; no text under the right-hand action rail. Ads and some apps reserve more at the bottom; check the platform the clip is for. Burned-in captions sit at the bottom of the band (`../captions.md`). +The app draws over the frame. On 1080×1920 every word and the product stay inside the area TikTok, Instagram Reels and YouTube Shorts all leave clear, the one `npx hyperframes check` warns about (`outside_safe_zone`): from 288 to 1248 px down and 120 to 888 px across, narrowing to 780 px below 840 px where TikTok's action rail widens. Outside it (status and search bar above, caption, handle and buttons below, the action rail on the right) only texture or decoration. Ads and some apps reserve more at the bottom; for a clip made for one platform, `--safe-zone tiktok`, `reels` or `shorts` checks only that one. Burned-in captions sit at the bottom of the band (`../captions.md`). ## The first second