typography-system

Create modular type scales and accessible typography guidance for design systems.

29|6|Updated Jan 16, 2026
One-click install
npx skills add https://github.com/sanky369/vibe-building-skills --skill typography-system
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typography-system
Source: https://github.com/sanky369/vibe-building-skills/tree/main/skills/frontend-design/typography-system
Command: npx skills add https://github.com/sanky369/vibe-building-skills --skill typography-system

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Typography decisions are error-prone and inconsistent across products, leading to readability issues and cognitive load.

Core Features & Use Cases

  • Establish a modular type scale to ensure consistent sizing across components.
  • Define accessible font pairings and loading strategies for performance.
  • Ensure readability and accessibility across devices, including color contrast and line height.
  • Use Case: You're building a design system or UI toolkit; apply this skill to derive scalable typography guidelines for headings, body text, and display elements.

Quick Start

  • Provide base font sizes, a chosen modular scale, and font families to start building a scalable typography system.
  • Create CSS tokens for body, headings, and display styles.
  • Provide a starter snippet that demonstrates applying the type scale to a simple component (e.g., a card with heading, body, and caption).

Frequently Asked Questions about typography-system

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

FAQPage Schema
How do I create a consistent type scale for my design system?

A modular type scale establishes a mathematical ratio between font sizes, ensuring consistency across components. Define a base font size and modular scale (such as 1.5x), then generate heading, body, and display sizes by multiplying the base. This creates a scalable typography system that maintains visual hierarchy across web and mobile products.

What accessibility requirements should I include in typography guidelines?

Accessible typography requires sufficient color contrast ratios, adequate line height for readability, and responsive font sizing that adapts to device width. Ensure body text meets WCAG standards, use semantic HTML heading levels, and test readability across screen sizes and user zoom preferences for inclusive design.

How do I pair fonts effectively and ensure they load performantly?

Font pairing combines complementary typefaces—typically a serif with sans-serif or two sans-serifs with distinct personalities. Reduce performance impact by limiting font weights and subsets, using system fonts as fallbacks, and loading fonts asynchronously or with font-display properties to prevent layout shift.

Can I apply a modular type scale to responsive design across devices?

Yes. Responsive typography scales font sizes fluidly between breakpoints using CSS calculations or media queries. A modular scale works across devices by maintaining proportional relationships; adjust base size for mobile and scale up proportionally on larger screens while preserving readability.

What's the best way to document typography tokens for a UI toolkit?

Create CSS custom properties or design tokens for each scale step—body-xs, body-sm, heading-lg, display-xl—mapping to calculated sizes. Document each token's use case, line height, letter spacing, and weight, then provide code snippets showing application to common components like cards and buttons.

Why do typography inconsistencies cause readability problems across products?

Inconsistent font sizes, weights, and spacing increase cognitive load as users recalibrate visual hierarchy on each page. A unified modular system reduces decision fatigue, improves scannability, and ensures predictable readability across all UI surfaces and contexts.