Generate Type Scale
generate_type_scaleGenerate modular typography scales with matched line heights and optional fluid CSS clamp sizing that adapts text between mobile and desktop viewports.
Instructions
Generate a modular typography scale with matching line heights, optionally fluid (CSS clamp) so text scales smoothly between a mobile and desktop viewport. Deterministic, no API key needed.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "generate_type_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base font size in px | |
| fluid | No | ||
| ratio | No | major-third | |
| format | No | css | |
| steps_up | No | ||
| steps_down | No | ||
| max_viewport | No | ||
| min_viewport | No |