---
title: "Spacing"
status: accepted
source: "design/HANDOVER.md · Spacing; design/tokens.css"
updated: "21.11.2026."
url: https://design.mojakirija.rs/foundations/spacing
---

# Spacing

Accepted · design/HANDOVER.md · Spacing; design/tokens.css

A 4px base, the 20px screen gutter and the 44px touch floor.

A 4px base: 4 · 8 · 10 · 12 · 16 · 20 · 24 · 32, with 56 and 64 for desk section padding. 20px is the screen gutter on a phone. 44px is the floor for anything pressed; a row in a sheet is 52px.

| Token | Value | Dark | Status |
| --- | --- | --- | --- |
| `--mk-space-1` | 4px | — | Accepted |
| `--mk-space-2` | 8px | — | Accepted |
| `--mk-space-3` | 10px | — | Accepted |
| `--mk-space-4` | 12px | — | Accepted |
| `--mk-space-5` | 16px | — | Accepted |
| `--mk-space-6` | 20px | — | Accepted |
| `--mk-space-7` | 24px | — | Accepted |
| `--mk-space-8` | 32px | — | Accepted |
| `--mk-space-9` | 56px | — | Accepted |
| `--mk-space-10` | 64px | — | Accepted |
| `--mk-touch` | 44px | — | Accepted |
| `--mk-touch-sheet` | 52px | — | Accepted |

## Measure and radius

- **Measure, accepted 21.11.2026** ([D-2026-11-21-15](https://design.mojakirija.rs/decisions#D-2026-11-21-15)): with a mouse, controls are 36px and table rows 48px; with touch, controls stay 44px (48 for a sheet's primary). Chosen by pointer type.
- **Radius ladder, accepted 21.11.2026**, replacing "one radius 3px": 4 tags · 8 controls and inner cards · 12 menus and popovers · 16 shell cards · full for floating and round objects.
- Both are rules now and neither is in `design/tokens.css` yet: the token values above are what the app draws today.

> **Predlog · nije pravilo** (PROPOSED, not a rule, do not implement): Spacing by role; 10 and 24 retired in the app
> Source: Canvas "Krug 2 · sistem i ekrani", board 2 `K2-Mera` · 21.11.2026.
> Name spaces by what they separate rather than by size, and drop the two steps the boards rarely use.
