docs(skills): give the 9:16 safe band that check enforces (#8261)

vertical.md put every word between 168 and 1330 px on 1080x1920, and
captions.md put portrait captions about 600-700 px from the bottom. The
safe areas `check` has warned about since #7680 (packages/core/src/
safeAreas.ts) are narrower: scaled to 1080x1920, TikTok is clear from
240 to 1260 px, Reels from about 269 to 1248 px and Shorts from 288 to
1248 px, and TikTok's right edge steps in to 780 px below 840 px. Text
placed by the references got outside_safe_zone warnings on all three.

Both references now give the band all three leave clear (288-1248 px
down, 120-888 px across, 780 px below 840 px) and say how to check a
single platform.

Fixes #8256

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
wonjang
2026-11-19 23:03:49 +00:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 4a11e46c70
commit bcb2dd031c
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -6,7 +6,7 @@
"files": 3
},
"hyperframes": {
"hash": "e8373632c84a7187",
"hash": "cca611faf7aaea9a",
"files": 81
},
"hyperframes-cli": {
+1 -1
View File
@@ -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.
@@ -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