typography

Generate a 9-step type scale token file for CSS, Tailwind, or JavaScript projects.

4|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Dragoon0x/dragoon-skills --skill typography-dragoon0x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: typography
Source: https://github.com/Dragoon0x/dragoon-skills/tree/main/skills/typography
Command: npx skills add https://github.com/Dragoon0x/dragoon-skills --skill typography-dragoon0x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Inconsistent typography across a codebase creates a disjointed user experience and adds unnecessary manual work for developers maintaining design systems. This Skill solves that problem by generating standardized type scale tokens that align with your project's existing detected design patterns.

Core Features & Use Cases

  • 9-Step Type Scale Generation: Creates a complete type scale (xs, sm, base, md, lg, xl, 2xl, 3xl, 4xl) anchored to the type ratio detected by a prior repo scan, or a sensible default if no ratio was found.
  • Auto-Format Selection: Automatically outputs tokens in the format that matches your project's tech stack: CSS variables for standard web projects, Tailwind config for Tailwind-based projects, or a JS module for JavaScript-heavy stacks.
  • Use Case: After running a repo scan to map your project's existing typography patterns, use this Skill to generate reusable font size tokens that match your design system, eliminating the need to manually define and maintain type scales.

Quick Start

Use the typography skill to generate a standardized type scale token file aligned with your project's detected type ratio and save it to your default styles directory.

Frequently Asked Questions about typography

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

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

Generate a standardized 9-step type scale token file anchored to your project's detected type ratio to eliminate inconsistent typography across frontend codebases.

Does this typography token generator support Tailwind config output?

Yes, it features auto-format selection that outputs typography tokens directly into a Tailwind config for Tailwind-based projects, or CSS variables and JS modules for standard web or JavaScript-heavy stacks.

Can I preview type scale token changes before writing files to my project?

Yes, you can use the dry-run preview mode to preview the generated 9-step type scale tokens prior to writing any changes to the file system, ensuring the output matches your design system.

What is a 9-step type scale and how does it standardize font sizing tokens?

A 9-step type scale is a standardized set of font size tokens ranging from xs to 4xl, anchored to a detected type ratio to eliminate inconsistent typography across frontend codebases.

How do I configure the output directory for generated CSS variables and design tokens?

You can configure a custom output directory for the generated token file, allowing the standardized type scale design tokens to be saved directly to your project's default styles directory.