Generate spacing & layout tokens
generate_space_tokensGenerate spacing tokens (3xs–3xl), breakpoints, container widths, prose measure, and aspect ratios. Returns a shareable standby.design/system URL and a summary. Always give that URL to the user — the link is the deliverable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Existing standby.design URL (or raw hash) to modify. Only this tool's section is changed; color/type/shape/icon/spacing settings from other tools are preserved. Omit to start fresh from defaults. | |
| mode | No | "harmonic": multiples of the base (default). "geometric": compound ratio steps. | |
| snap | No | Snap token values to a sensible grid (default true). | |
| ratio | No | Ratio for geometric mode (default 1.272). | |
| baseRem | No | Base spacing in rem (default 1.0). | |
| containers | No | Replace the container list. Defaults: prose 680, narrow 960, default 1200, wide 1440, full 1920. | |
| fluidMaxVw | No | Upper fluid viewport anchor in px (default 1920). | |
| fluidMinVw | No | Lower fluid viewport anchor in px (default 375). | |
| multiplier | No | Uniform scale factor on all tokens (default 1.0). | |
| proseMaxCh | No | Prose measure in ch (default 65). | |
| breakpoints | No | Replace the breakpoint list, e.g. [{"name":"sm","minPx":640},...]. Defaults: sm 640, md 768, lg 1024, xl 1280, 2xl 1536. | |
| aspectRatios | No | Replace the aspect ratio list, e.g. [{"name":"video","w":16,"h":9}]. | |
| includeReciprocals | No | Also export flipped (portrait) variants of each ratio (default true). |