generate_typography_system
Generate a complete typography system from chosen fonts and a modular scale, outputting CSS variables, Tailwind config, or Google Fonts embed code for consistent web typography.
Instructions
Generate a complete typography system from font selection + scale.
Returns CSS custom properties, Tailwind config, and/or Google Fonts embed HTML. Format: css, tailwind, embed, or all. Weights: semicolon-separated per the css2 API (e.g. "400;700"); variable ranges use ".." (e.g. "100..900"). Legacy comma input is auto-converted.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | ||
| body | No | ||
| scale | No | major-third | |
| format | No | all | |
| heading | Yes | ||
| body_weights | No | 300;400;500;600;700 | |
| heading_weights | No | 400;700 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||