web-typography

Select, pair, and implement web typefaces with CSS and performance optimization.

1|Updated May 10, 2026
One-click install
npx skills add https://github.com/Tgoldi/claude-skills --skill web-typography-tgoldi
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: web-typography
Source: https://github.com/Tgoldi/claude-skills/tree/main/web-typography
Command: npx skills add https://github.com/Tgoldi/claude-skills --skill web-typography-tgoldi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Choosing and implementing typefaces for the web involves readability, pairing, responsive sizing, and font-loading performance decisions that are easy to get wrong, resulting in cramped text, clashing fonts, and slow page loads. ## Core Features & Use Cases - Typeface Evaluation & Selection: Systematic criteria for assessing x-height, counters, stroke contrast, character completeness, and licensing before committing to a font. - Pairing & Hierarchy Guidance: Proven serif/sans pairings, superfamilies, and modular type scales with a 0-10 scoring rubric for reviewing implementations. - CSS Implementation & Performance: Ready-to-use patterns for fluid typography with clamp(), @font-face setup, font-display strategies, subsetting, and variable fonts under a 200KB payload budget. - Use Case: When building a content site, ask for a typography review and receive a scored assessment with specific fixes for line length, line height, heading hierarchy, and font loading. ## Quick Start Review the typography of my landing page and recommend a font pairing with the CSS to implement it.

Frequently Asked Questions about web-typography

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I choose a font pairing for a website?▼

Start with a readable body typeface, then add a contrasting headline face using structural contrast such as serif plus sans-serif. Limit yourself to one or two families, and prefer superfamilies like Roboto or IBM Plex when uncertain.

What is the best font size and line height for body text?▼

Use at least 16px (preferably 18px) for body text with a line height of 1.5 to 1.7. Keep line length between 45 and 75 characters using max-width: 65ch for comfortable reading.

How do I implement fluid responsive typography in CSS?▼

Use the clamp() function with a minimum, viewport-scaled preferred value, and maximum, such as font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem). This scales text smoothly across viewports without media query breakpoints.

How do I prevent web fonts from slowing down my site?▼

Serve fonts in WOFF2 format, subset them to needed characters, set font-display: swap, and preload critical fonts. Keep total font payload under 200KB and consider a variable font to replace multiple static weights.

Variable fonts vs static font files: which should I use?▼

Variable fonts pack multiple weights into one file, often smaller than several static files, and allow granular weight control. Use them when you need three or more weights; static files are fine for one or two weights.

Why does my text look blurry or render differently across browsers?▼

Rendering differences come from font hinting quality and font-smoothing behavior across operating systems. Apply -webkit-font-smoothing: antialiased, test on real devices and browsers, and avoid poorly hinted fonts at small sizes.