generate_typography_scale
Generate a modular typography scale to establish consistent type hierarchy, outputting recommended sizes and line heights for headings and body text.
Instructions
Calculate modular typography scale with recommended sizes for headings and body text. Returns complete type scale with line heights.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_size | No | Base font size in pixels (typically 16) | |
| scale_ratio | No | Scale ratio (e.g., 1.2 for minor third, 1.5 for perfect fifth) | |
| steps | No | Number of steps to generate (up and down from base) |