tailwind-typescale

Generate Tailwind CSS v4 typography scales with --text-* variables and h1–h6 mappings.

Updated May 18, 2026
One-click install
npx skills add https://github.com/gaspanik/vanilla-tailwind4-starter --skill tailwind-typescale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tailwind-typescale
Source: https://github.com/gaspanik/vanilla-tailwind4-starter/tree/main/.claude/skills/tailwind-typescale
Command: npx skills add https://github.com/gaspanik/vanilla-tailwind4-starter --skill tailwind-typescale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Typography in Tailwind projects often lacks a cohesive scale, causing inconsistent font sizes across text and headings. This skill standardizes typography by applying a harmonious type scale to Tailwind CSS v4 projects.

Core Features & Use Cases

  • Applies the --text-* scale variables in @theme to cover all text sizes from xs to 9xl.
  • Maps h1–h6 font sizes in @layer base for consistent heading hierarchy.
  • Accepts a base font size and a named scale ratio to customize the typography system.
  • Suitable for new projects or updating existing designs when typography consistency is required.

Quick Start

Select a base font size and a scale ratio to apply a harmonious typography scale to your Tailwind v4 project.

Frequently Asked Questions about tailwind-typescale

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

FAQPage Schema
How do I create a harmonious typography scale in Tailwind CSS v4?

To create a harmonious typography scale in Tailwind CSS v4, select a base font size and a named ratio to automatically generate --text-xs through --text-9xl variables in @theme and map h1–h6 font sizes in @layer base.

What's the best way to standardize heading sizes in a Tailwind design system?

Standardizing heading sizes in a Tailwind design system is achieved by mapping h1–h6 font sizes in @layer base, applying a consistent type scale ratio to ensure a cohesive hierarchy across all web typography elements.

Does this Tailwind typography tool support CSS variables for text sizing?

Yes, this Tailwind typography tool supports CSS variables by defining text sizes using --text-* scale variables within the @theme block, ensuring full compatibility with v4 design tokens.

Can I customize the base font size and scale ratio for my web typography?

Yes, you can customize your web typography by selecting a specific base font size and a named scale ratio, which configures the entire --text-* variable range and heading mappings to fit your project's needs.

When do I need to update Tailwind theme variables for typography consistency?

You need to update Tailwind theme variables for typography consistency when designers request typography adjustments or when a new project requires standardized text elements and headings using a unified type scale.