god-typography
Skill0 starsChanged 2 months agoMITView on GitHub
Typography system design - type scales, font pairing with Google Fonts, measure/leading/tracking rules, hierarchy, variable fonts, OpenType features, web font loading, and multi-script typesetting (Turkish, Arabic/Persian RTL, CJK, Devanagari, Thai, Cyrillic, Greek). Use when choosing fonts, fixing text that looks off, building a type scale, or designing for non-Latin languages.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- god-accessibilitySkill
- god-anti-slopSkill
- god-brandingSkill
- god-colorSkill
- god-datavizSkill
- god-imagegenSkill
- god-layoutSkill
- god-mobileSkill
- god-motionSkill
- god-of-designSkill
- god-outputSkill
- god-presentationsSkill
- god-printSkill
- god-reviewSkill
- god-social-mediaSkill
- god-stylesSkill
- god-tokensSkill
- god-ui-uxSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Check language support: Every font you pick must contain the glyphs of the content language.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
God Typography
Procedure
- Voice first. Describe the voice in 3 words (e.g. "precise, calm, Turkish-modern"). Pick a display face that is that voice and a text face that disappears into reading.
- One or two families. One superfamily (e.g.
IBM Plex Sans+IBM Plex Mono) or a high-contrast pair (serif display + sans body, or the reverse). Pairs must differ clearly. Two similar sans faces look like a mistake. - Set a modular scale. Base 16–18px body on screen. Ratio: 1.125 (dense UI), 1.2 (apps), 1.25 (marketing), 1.333 (editorial), 1.5–1.618 (posters). Use fluid sizes with
clamp(). - Set measure, leading, tracking.
- Measure: 45–75 characters (66 is ideal) for body;
max-width: 65ch. - Leading: body 1.5–1.7 (Latin), headings 1.0–1.2, CJK body 1.7–2.0, Arabic 1.6–1.9, Devanagari 1.6–1.8.
- Tracking: tighten large display (−0.01 to −0.04em), loosen ALL CAPS and small labels (+0.04 to +0.12em). Never letter-space lowercase body text.
- Measure: 45–75 characters (66 is ideal) for body;
- Hierarchy with few levers. Change size or weight or colour per level, not all three. Usually 3–4 levels are enough.
- Check language support. Every font you pick must contain the glyphs of the content language. For Turkish:
ç ğ ı İ ö ş ü Ç Ğ Ö Ş Ü, andtext-transform: uppercaseneedslang="tr"so i → İ (not I). Test with "İstanbul'da ığdır şehri çiçekleri görüyorüz" or similar. - Load fast. Load 2–4 files maximum. Use variable fonts,
font-display: swap,preconnectto Google Fonts,size-adjustfallbacks to avoid layout shift, and subset where possible.
Fluid scale example (ratio 1.25, 16→18px body)
:root {
--step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.90rem);
--step-0: clamp(1.00rem, 0.95rem + 0.25vw, 1.125rem);
--step-1: clamp(1.25rem, 1.17rem + 0.40vw, 1.41rem);
--step-2: clamp(1.56rem, 1.43rem + 0.65vw, 1.76rem);
--step-3: clamp(1.95rem, 1.75rem + 1.00vw, 2.20rem);
--step-4: clamp(2.44rem, 2.12rem + 1.60vw, 2.75rem);
--step-5: clamp(3.05rem, 2.55rem + 2.50vw, 3.43rem);
}
h1 { font-size: var(--step-5); line-height: 1.05;
letter-spacing: -0.02em; text-wrap: balance; }
p { font-size: var(--step-0); line-height: 1.6; max-width: 65ch; text-wrap: pretty; }Avoid (common tells)
- Inter / Roboto / Arial for everything by default. Choose deliberately; Inter is fine when it is a reasoned choice.
- Centered body paragraphs longer than 3 lines.
- Light weights (≤300) for small text, and grey-on-grey below 4.5:1.
- Faux bold/italic (synthesised). Load the real weights.
- More than 2 typefaces (a mono for code is the allowed third).
- Widows/orphans on headlines. Use
text-wrap: balance.
See references/font-pairings.md (60+ Google Fonts pairings by mood) and references/multiscript.md (non-Latin setting rules).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

