WordPress
Both fixed and variable spacing values are used. The variable spacing values are based on CSS clamp() and scale relative to the viewport width.
0px--wp--preset--spacing--0
8px--wp--preset--spacing--1
16px--wp--preset--spacing--2
24px--wp--preset--spacing--3
32px--wp--preset--spacing--4
40px--wp--preset--spacing--5
8px – 16px--wp--preset--spacing--fluid-1
16px – 24px--wp--preset--spacing--fluid-2
24px – 32px--wp--preset--spacing--fluid-3
32px – 40px--wp--preset--spacing--fluid-4
40px – 64px--wp--preset--spacing--fluid-5
16px – 40px--wp--preset--spacing--fluid-6
Figma
Usage
Fixed steps keep their size on every screen and belong inside components. Fluid steps grow with the viewport and belong to the layout. 0 is a real token: a spot that needs no gap still uses it rather than a literal.
| Where | Token |
|---|---|
| Top and bottom padding of a section | fluid-5, set by the section styles |
| Side padding of every section, the page gutter | fluid-6 |
| Padding inside a box | fluid-2, set by the box styles |
| Between a section’s header and its content | 4 |
| Between columns | fluid-6, the theme default; several patterns narrow it to fluid-5 |
| Between the items of a collection: teasers, persons, facts, testimonials, jobs, process steps | fluid-3 |
| Between image and text inside one item of a collection | fluid-2 |
| Inside a text group (eyebrow, heading, text, link) | fluid-1 |
| Running text | Set by the theme: fluid-3 above and fluid-1 below a heading, fluid-2 below a paragraph |
| Between the buttons of a button group | 2, the theme default |
| Between the items of a navigation | 2 |
| Inside form fields | 1 and 2 |