M Spacing

Generate a spacing scale from a base unit. 15 steps from 2px to 128px on a 4px grid.

dragoon0x 2038b04 368 B Updated

File contents

/m-spacing — Spacing Scale

Base: 4px. Scale: 2, 4, 6, 8, 12, 16, 20, 24, 32, 40, 48, 64, 80, 96, 128.\n\nOutput as --space-0.5 through --space-32 CSS custom properties.\n\nEvery padding, margin, and gap in the codebase must use these values.

dragoon0x/meridian/tree/main/source/skills/m-spacing commit 2038b04d9f

Frequently asked questions

npx skillmds@latest add dragoon0x/m-spacing