
Overview
Anvil2 uses partial increments of a base-0.5rem spacing scale. Quarter and half values of 0.0625rem and 0.125rem are also included.
Spacing tokens
Anvil2 exposes spacing values as CSS custom properties. These tokens power spacing utility classes such asa2-m-4 and a2-p-inline-start-2. See the CSS Utilities reference for class naming and setup.