Space & Radii

Space

A single rhythm for gaps, padding and margins — 3xs (5px) up to 4xl (160px). Rust: scale::space::{XS3, XS2, XS, S, M, L, XL, XL2, XL3, XL4}.

3xs · 5
2xs · 10
xs · 15
s · 20
m · 30
l · 40
xl · 60
2xl · 80
3xl · 120

Radii

scale::radius::{XS3 … XL2}, plus PILL for fully-rounded ends (for a circle use Val::Percent(50.0)). Each theme also carries structural radii (radius_selector / radius_field / radius_box) — that's why themes like synthwave and cyberpunk read as sharp (all 0), while dark and forest soften (0.5rem / 1rem).

3xs · 3
2xs · 4
xs · 6
s · 8
m · 12
l · 16
xl · 24
2xl · 32