16 steps · four-pixel base
Spacing
The spacing scale, 4px base, numbered like Tailwind so that p-4 and --rl-space-4 say the same thing. Fractions are spelled: half, 1-5, 2-5.
The scale
Icons, controls, targets
Heights of controls, and the floor for a pointer target. The smallest pointer target, WCAG 2.2 criterion 2.5.8, and what a 320px panel can afford.
| Token | Value | Shown |
|---|---|---|
--rl-icon-sm | 1rem | |
--rl-icon-md | 1.25rem | |
--rl-icon-lg | 1.5rem | |
--rl-control-sm | 2rem | |
--rl-control-md | 2.5rem | |
--rl-control-lg | 3rem | |
--rl-target-min | 24px |