Space and shape
The spacing scale, corners, borders, shadows, layout and the size of things a finger touches.
On this page
Spacing
Every gap in your app comes from one scale, built on 4 px:
| Token | Value | Typical use |
|---|---|---|
space.1 | 4 px | between an icon and its label |
space.2 | 8 px | inside small controls |
space.3 | 12 px | between a label and its field |
space.4 | 16 px | inside cards; the phone’s side margin |
space.6 | 24 px | between groups |
space.8 | 32 px | between sections on a phone |
space.12 | 48 px | between sections on a desktop |
space.16 | 64 px | around the top of a page |
A brand can stretch the scale (more air, or less), never add values outside it one by one.
Shape language
The shape of things is what makes two brands feel different even with the same layout. The guide decides:
| Decision | La Espiga |
|---|---|
Corners (radius.control, radius.card, radius.sheet) | soft: 10, 16 and 24 px, like a loaf |
| Fills or outlines | filled buttons, outlined fields |
Elevation (shadow.1 to shadow.3) or borders only | low warm shadows on cards, none elsewhere |
Line weight (border.thin, border.strong) | 1 and 2 px |
Layout
| Token | Value |
|---|---|
| breakpoints | phone under 640 px, tablet 640 to 1024 px, desktop over 1024 px |
| content width | the guide’s reading width and the widest a screen may grow |
| gutters | 16 px on a phone, wider on a desktop; never a sideways scroll |
| density | comfortable or compact, per guide (a staff console may be compact) |
Touch
Everything a finger can press is at least size.touch (44 by 44 px), with room around it. design check measures it on the phone render of every screen.