Skip to content

ShadowKingYT444/motion-debugger / plugin/motion-debugger/skills/premium-motion

premium-motion

Verified

FileKindSize
SKILL.mdskill md11.2 KB
TASTE.mdmarkdown7.0 KB
agents/openai.yamlconfig308 B
assets/motion-kit.cssother9.6 KB
assets/motion-kit.jsscript20.7 KB
commands/audit.mdmarkdown1.4 KB
commands/compose.mdmarkdown2.3 KB
commands/direction.mdmarkdown2.7 KB
commands/harden.mdmarkdown2.5 KB
commands/imagery.mdmarkdown5.5 KB
commands/motion.mdmarkdown4.3 KB
commands/palette.mdmarkdown2.3 KB
commands/polish.mdmarkdown1.8 KB
commands/signature.mdmarkdown2.8 KB
commands/typeset.mdmarkdown2.6 KB
commands/upgrade.mdmarkdown4.1 KB
references/frameworks.mdmarkdown9.6 KB
references/motion-stack.mdmarkdown12.0 KB
references/patterns.mdmarkdown11.4 KB

commands/typeset.md

View on GitHub
# typeset: type with a voice

## Choose

- **The display face comes from the world** in `PREMIUM.md`: the lettering on its artefacts, its era, its material. A timetable suggests a tight grotesk with tabular figures; a seed packet, a warm wood-type serif; a lacquer sleeve, a wide extended sans. Name the reason in one line.
- **The text face is quiet:** a workhorse sans or serif that sets well at 16–18px. One family in two cuts is fine.
- **Leave the defaults** unless the brief demands them: Instrument Serif, Fraunces, Playfair Display or an italic-accent serif for display; Inter, Inter Tight, Geist or Manrope for everything; and a giant plain grotesk in all caps as the only idea.
- **Prefer variable fonts** (Google Fonts or self-hosted `woff2`) so weight, width or optical size can move with motion.

## Set

| | Rule |
| --- | --- |
| Scale | Hero display at least 5× body, often 8–14vw on desktop with `clamp()`; section titles at least 2.5× body; small labels stay small |
| Tracking | Large display -0.02em to -0.05em; all-caps labels +0.06em to +0.12em; body 0 |
| Leading | Display 0.88–1.05; body 1.5–1.65; tight display leading needs room for descenders inside reveal masks |
| Measure | 45–70ch for body, and headings broken by meaning, not by the container |
| Wrap | `text-wrap: balance` on headings and `text-wrap: pretty` on paragraphs; no one-word last line in a heading |
| Figures | Tabular figures (`font-variant-numeric: tabular-nums`) for prices, data and counters; lining figures in headings |
| Detail | Real quotes and apostrophes (’ “ ”), en dashes for ranges, non-breaking spaces before units, hanging punctuation where supported |
| Colour | Body at least 4.5:1 contrast; secondary text from a mixed ink, never pale grey on a coloured ground |

## Integrate with the visual

Premium type is set *into* the scene, not beside it. It overlaps the visual, and the visual breaks through it, masks it, or sits behind it at depth. Words can be cut by the image edge. A single word can carry the hero at extreme scale.

## Load without jank

- `<link rel="preconnect">` to the font host, `font-display: swap`, and preload the display face's main cut.
- Give the fallback `size-adjust` or `ascent-override` so the swap does not reflow the headline.
- Split text for reveals only after `document.fonts.ready`, or with SplitText's `autoSplit`, so lines are measured in the real face.

## Verify

Run the critic. No `default-typeface` or `weak-hierarchy` finding, and the detail sheets show the intended face, not a fallback. Check the phone sheet: headings wrap well and nothing touches the screen edge.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall