Eddie uses a consistent spacing scale via --ed-spacing-* tokens:
| Token | Description |
|---|---|
--ed-spacing-xs |
Extra small (tightest) |
--ed-spacing-sm |
Small |
--ed-spacing-md |
Medium (default) |
--ed-spacing-lg |
Large |
--ed-spacing-xl |
Extra large (loosest) |
Use these in inline styles when needed:
Inside Eddie component SCSS, use the size() function from the token package:
Components that accept a size prop use abbreviated t-shirt sizes:
xs · sm · md · lg · xl
Use Eddie layout components for structural spacing rather than manual padding:
ed-layout-container — Caps content width with horizontal paddinged-grid — Responsive grid with built-in gaped-layout-section — Vertical section spacing