Golden CSS variables
golden_css_variablesGenerate the :root block of golden-ratio CSS variables as goldenratio.app ships, in css, min, or json with configurable spacer base and unit. Use it to add golden spacing variables without Tailwind.
Instructions
The :root block of golden-ratio CSS variables (--golden-ratio-1..11, half-, double-, --gr) exactly as goldenratio.app ships it. Use without Tailwind.
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": "golden_css_variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | css (default, readable), min (one line, as in the site stylesheet) or json. | |
| spacer_base | No | theme.goldenRatio.spacerBase: the size of spacer 6 (default 1.5, as on goldenratio.app). | |
| spacer_unit | No | theme.goldenRatio.spacerUnit (default 'rem'). |