Forge Grid

Snap all spacing values in the codebase to your system's grid. Replaces arbitrary padding, margin, and gap values.

dragoon0x Updated 13 repo stars

File contents

/forge-grid — Grid Snap

Scan every padding, margin, and gap declaration.

For values not on the 4px grid:

  1. Find nearest scale value
  2. Replace with var(--space-N)
  3. Show before/after with pixel difference

Report: total values checked, on-grid %, off-grid count, corrections applied.

dragoon0x/forge commit 6330fd51ac

Frequently asked questions

npx get-skill add dragoon0x/forge-grid-2