Spacing follows the spacing and padding tokens instead of hard-coded pixel values.
The requirement (from the design system site)
Spacing follows the spacing and padding tokens instead of hard-coded pixel values.
Why it matters to users
Even spacing groups related things, so a citizen can see which label belongs to which field and where one section ends. Random pixel gaps make a form feel cluttered and make it easier to type into the wrong box.
How to fix it
Replace off-scale margins, padding and gaps with the gup spacing and padding tokens, such as gup/padding/md (24px), starting with the most used values in the report. Then scan again.
How we measure it
Census of margin, padding and gap values on visible elements (header and footer counted once): share matching the Spacing page's token values (0, 8, 12, 16, 20, 24, 28, 32, 40, 48px) or the @govom/tokens additions (2, 4, 64, 80px); off-scale values listed per declaration with usage counts. Partly measured: we measure what the public pages show of this rule; the rest needs a review.
"
The rule on the design system site