generate-type-scale
Installation
SKILL.md
Generate Type Scale
Given a base font family and body size, generate a full typographic scale as Figma text styles.
Input
Ask the user for:
- Font family (e.g. "Inter"), required
- Base body font size in px (e.g. 16), required
- Scale ratio: "minor-third" (1.2), "major-third" (1.25), "perfect-fourth" (1.333), "golden" (1.618), default major-third
- Include display sizes (above H1)? Default no
- Include mono / code style? Default no
Scale Calculation
Using base size B and ratio R: