Fluid type scale
type_scaleGenerates responsive CSS clamp() type scales with named ratios, per-step line-height and letter-spacing, and continuous sizing between two viewports for modular typography.
Instructions
Builds a modular type scale that grows smoothly between two viewports, as CSS clamp() values, with line-height and letter-spacing per step. Named ratios: minor-second, major-second, minor-third, major-third, perfect-fourth, augmented-fourth, perfect-fifth, golden-ratio.
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": "type_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxBase | No | Body size in px on large screens | |
| minBase | No | Body size in px on small screens | |
| stepsUp | No | ||
| maxRatio | No | major-third | |
| minRatio | No | minor-third | |
| stepsDown | No | ||
| maxViewport | No | ||
| minViewport | No |