Typography Foundations
Set type for screen and print: measure, leading, tracking, optical sizes, weight axes, and the difference between display and text cuts.
от clawic★ 23 звезды на GitHub
Установить Typography Foundations в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Measure, leading, and the reading engine
- Measure = characters per line, the single biggest readability lever. English body: 45-75 chars, sweet spot ~66. CJK: 20-40 chars (each glyph carries more meaning). Mobile effective measure after padding: 30-40 chars is fine, narrower than print tolerates.
- Print tolerates a wider measure than screen: screen reading runs ~20-25% slower than print at equal measure, so screen body sits in the lower half (45-60), print can push to 75-90 in two-column work.
- Leading and measure are inversely coupled: a longer line needs more leading because the eye must track further back to the next line's start. A 75-char line at 1.3 reads cramped; bump to 1.45-1.5.
- Leading and x-height are inversely coupled: tall x-height faces (Inter, Söhne) need more leading than low x-height faces (Georgia, Caslon) at the same size. Two faces at 16px can need 1.4 vs 1.6 to read the same.
- Leading bands: display 0.9-1.1; headings 1.1-1.2; body 1.2-1.5 (screen leans 1.4-1.6, print 1.2-1.3); long-measure body +0.1.
- A line-height in px is a bug: it does not scale with font-size, so nested smaller text inherits the parent's gap. Use unitless (1.5) or em (1.5em), never 24px.
- Body below 14px on screen is a legibility tax: hinting and subpixel rendering degrade below 16px on non-HiDPI. 16px is the screen body floor for content you read, not glance.
- Inheriting 1.5 into a 48px heading gives 72px line spacing and blows the rhythm: set line-height unitless on the body and reset per heading element.
Tracking and optical sizes
- Tracking direction flips by case: lowercase display wants negative (-10 to -30 / 1000 em), caps want positive (+50 to +100). Tightening caps closes the optical gaps uppercase creates; tightening lowercase display removes air that looks elegant at 12pt and anemic at 120pt.
- Tracking is scale-dependent: the same -20 / 1000 em reads as tight at 120pt and invisible at 12pt. That is why optical-size axes exist: they interpolate tracking, x-height, and contrast together. Hand-tuning tracking across a size range without opsz is manual work the axis does for free.
- CSS
letter-spacingin px does not scale with font-size: -0.5px is huge at 12px and nothing at 120px. Use em (-0.02em) so it tracks the size. - Small body (sub-14pt) often needs +5 to +15 tracking to open counters that subpixel rendering clogs. Negative tracking on small body closes counters and drops legibility; the
tracking-tightclass on body is a frequent culprit. - Body tracking at 0 to -5 / 1000 em is the flat zone; past -10 at body sizes you fight the type designer's spacing. Trust the built-in spacing for body, override only at display sizes.
word-spacingis the lever nobody pulls: +5 to +10 / 1000 em loosens long-measure ragged text without touching letter spacing; justified text reads denser when word-spacing tightens.
Display cuts vs text cuts
- The cut is not about size, it is about optical compensation. Display cuts have higher stroke contrast, tighter letterspacing, lower x-height, refined terminals. Text cuts have larger counters, more open apertures, taller x-height, sturdier joins. Same family, different job.
- A text cut at display size looks anemic: counters enlarged to survive 10pt look gaping at 96pt, strokes read thin. A display cut at body looks chunky and clogs: high contrast strokes turn to mush below 14pt, tight spacing fills counters.
- The crossover is ~28-32pt: above it, reach for the display cut (or opsz at the display end); below it, the text cut. Faces with no opsz axis have a native size band where they were designed to sit.
- Optical compensation is invisible until you see the wrong cut next to the right one: the wrong one reads as "off" with no named cause. The signal is counter fullness and stroke contrast relative to size.
- Geometric sans (Futura, Avenir) at body size on screen: low x-height and even strokes read as elegant but clog below 16px. Humanist sans (Inter, Söhne, Source Sans) are designed for the small screen and survive 14px. Pick by where the face will actually sit.
- Superfamilies with serif + sans + optical sizes (Source, IBM Plex, Roboto variable) carry a whole product without pairing risk; the cost is a thinner identity than a bespoke pairing.
Weight, variable fonts, and faux bold
- Weight reads one step heavier on screen than print: subpixel and grayscale AA fatten stems. A 400 body on screen looks like a 500 on paper. Print body sits at 400; UI body often sits at 500 because 400 reads thin at small screen sizes.
- Faux bold (synthesized when the bold weight file is missing) shows as uneven stem thickening and clogged counters. The signal: bold looks heavier in some glyphs than others, counters shrink unevenly. Fix: load the actual weight file, set
font-synthesis: none. - Variable fonts expose
wghtas a continuous 1-1000 range. The win is not more weights, it is the exact optical weight a size needs: a 550 at 14px, a 500 at 16px, a 480
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
FAQ
Что делает скилл Typography Foundations?
Set type for screen and print: measure, leading, tracking, optical sizes, weight axes, and the difference between display and text cuts.
Как установить скилл Typography Foundations?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Typography Foundations запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…