AGENT SKILL

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.

License 许可
Apache-2.0
所属仓库
Dragoon0x/meridian
最近更新
2026-03-21
Stars
★ 1
Forks
0

01 前言 Front Matter

name
m-type-scale
description
Generate a mathematical type scale from a base size and ratio. Outputs 8 steps with px values, rem equivalents, and CSS custom properties.
user-invokable
true

03 SKILL.md 正文

/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.

04 同仓库更多 Skills