# M Type Scale

> Generate a mathematical type scale from a base size and ratio. Outputs 8 steps with px values, rem equivalents, and CSS custom properties.

- Skill: `dragoon0x/m-type-scale` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dragoon0x/m-type-scale`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dragoon0x/m-type-scale/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Web & Frontend
- Author: dragoon0x (https://skillmd.com/u/dragoon0x)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dragoon0x/m-type-scale

---

# /m-type-scale — Type Scale
Usage: /m-type-scale [base] [ratio]\n\nRatios: Minor Second 1.067, Major Second 1.125, Minor Third 1.200, Major Third 1.250, Perfect Fourth 1.333, Augmented Fourth 1.414, Perfect Fifth 1.500\n\nCompute 8 stops (xs through 3xl). Round to whole pixels. Output CSS custom properties with line-height and letter-spacing recommendations per step.

