flexible-typography

Adjust typography with rem-based sizing and scalable line heights for accessibility.

3|Updated Mar 28, 2026
One-click install
npx skills add https://github.com/hulusi-tunc/unicorn-skills --skill flexible-typography
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: flexible-typography
Source: https://github.com/hulusi-tunc/unicorn-skills/tree/main/.claude/skills/adaptive-interfaces--flexible-typography
Command: npx skills add https://github.com/hulusi-tunc/unicorn-skills --skill flexible-typography

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Typography often fails to remain accessible across different user settings; this skill helps design scalable type systems that respect rem/em units, maintain readability, and adapt to dyslexia-friendly fonts and adjustable text.

Core Features & Use Cases

  • Relative units guidance: rem-based sizing and scalable line heights
  • WCAG-compliant typography: accessible contrast, adjustable spacing
  • Use Case: apply scalable typography rules across responsive layouts, reader modes, and dyslexia-friendly fonts

Quick Start

Define your type scale using rem and em units, then test readability at 100% and 200% text size.

Frequently Asked Questions about flexible-typography

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

FAQPage Schema
How do I make typography accessible and scale with user settings?

Accessible typography uses rem-based sizing and scalable line heights to adapt to user settings, ensuring readability across responsive layouts. You apply relative units like rem and em instead of px for font sizes.

Why should I use rem instead of px for font sizes?

Using rem for font sizes ensures text scales appropriately when users adjust browser settings, whereas px creates fixed dimensions. This relative unit maintains readable typography and WCAG compliance across different reading conditions.

What's the best way to build a responsive typography scale?

The best way to build a responsive typography scale is defining a 4-6 size range using rem and em units, then testing readability at 100% and 200% text size to ensure scalable spacing and line heights.

How does scalable typography work with dyslexia-friendly fonts?

Scalable typography works with dyslexia-friendly fonts by applying flexible rem-based sizing and adjustable spacing, ensuring text remains readable and maintains accessible contrast across responsive layouts and reader modes.

Can I apply WCAG-compliant typography to existing responsive layouts?

Yes, you can apply WCAG-compliant typography to existing responsive layouts by replacing fixed px dimensions with rem and em units, defining a scalable type system, and adjusting line heights for accessible contrast.

When should I not use fixed px units for typography?

You should avoid fixed px units for typography when users need adjustable text sizes for accessibility, as px prevents scalable reading conditions; use rem and em units instead to maintain readable layouts at 200% zoom.