{% extends 'base.html' %} {# utilities/spacing — faithful port of src/html/utilities/spacing.html. Same DOM/classes/ARIA, same demo copy and Alpine helpers. Reference hrefs converted to clean Django routes (# -> /x/). #} {% block main %}
A single 4px-based rhythm — --ax-space-1 through --ax-space-20 — drives every gap, pad and margin.
Geometric-ish steps tuned for dense admin UIs. Click any row to copy its token.
How the steps nest in a real card.
Step down one notch per nesting level — 6 → 4 → 2 — to keep visual rhythm tight without re-tuning per component.
Same six tiles, four different gap tokens.
.ax-stack flows children with a token gap — override via --ax-gap.
Snap to the scale