Spacing scale
spacing_scaleGenerates a spacing scale in px and rem using linear (Tailwind-style base multipliers) or geometric steps, so you can define consistent design tokens for UI layout and CSS.
Instructions
Builds a spacing scale in px and rem: linear (Tailwind multipliers of a base unit) or geometric (each step multiplied by a 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": "spacing_scale"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base unit in px | |
| kind | No | linear | |
| ratio | No | Geometric only |