apply-typography-scale

Apply a hand-crafted UI typography hierarchy with font sizes, weights, and line-heights.

240|11|Updated Apr 26, 2026
One-click install
npx skills add https://github.com/gnurio/refactoring-ui-plugin --skill apply-typography-scale
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: apply-typography-scale
Source: https://github.com/gnurio/refactoring-ui-plugin/tree/main/skills/02-apply-typography-scale
Command: npx skills add https://github.com/gnurio/refactoring-ui-plugin --skill apply-typography-scale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents confusing or inconsistent UI typography by turning scattered font choices into a deliberate hierarchy of sizes, weights, and line-heights.

Core Features & Use Cases

  • Hand-crafted type scale: Uses intentional, readable jumps between sizes rather than “mathematical” scaling.
  • UI-safe sizing rules: Enforces px/rem usage (no em compounding), minimum UI readability (no weights below 400), and only two UI weights (400/500 and 600/700).
  • Context-aware recommendations: Produces different scale targets for marketing, application, and content contexts.
  • Readability constraints: Guides line-height proportion and typical line-length ranges to reduce cramped or overly wide text.

Quick Start

Apply the typography scale to your design description for a marketing context using base size 16.

Frequently Asked Questions about apply-typography-scale

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

FAQPage Schema
How do I create a typography scale for UI design?▼

A UI typography scale uses intentional font sizes, weights, and line-heights to establish clear visual hierarchy. It enforces px/rem sizing, minimum UI readability weights, and line-height constraints to produce coherent, readable text across marketing and dense application interfaces.

What's the best way to structure visual hierarchy for headings and body text?▼

Structure visual hierarchy using intentional size jumps between headings and body text rather than mathematical scaling. Combine limited font weight options (400/500 and 600/700) with line-height and line-length constraints to reduce cramped or overly wide text.

Does this typography scale work for both marketing pages and dense application interfaces?▼

Yes, this typography scale works for both marketing pages and dense application interfaces. It provides context-aware recommendations that produce different scale targets depending on whether the UI is for marketing, application, or content contexts.

How do I set readable line-height and font weights for UI text?▼

Set readable line-height by following proportion constraints that reduce cramped text, and use minimum UI font weights of 400. Limit your UI weights to two options, typically 400/500 for regular text and 600/700 for emphasis, to maintain consistency.

Why should I use px and rem instead of em for UI typography sizing?▼

Use px and rem for UI typography sizing to prevent em compounding issues across nested elements. Enforcing px/rem usage ensures consistent font sizes and predictable scaling throughout the application interface without compounding errors.