Layout
Spacing scale, grid systems, and responsive breakpoints consumed by channel templates and `@ontopix/nuxt-layer-ui`.
Layout is the structural data of the design system. Base unit is 4px; grids are 12-column with per-context gutters and margins; breakpoints follow a mobile-first scale. Narrative guidance (prose, examples, implementation walkthroughs) lives as doc pages rendered from this data, not inside metadata.
Spacing System
The spacing system is based on a 4px base unit, matching the Tailwind CSS default spacing scale. Spacing tokens are organized by context (component, element, section) with semantic names (xs through 2xl).
For the full spacing scale, see Spacing.
Grid System
The grid uses a 12-column layout with 24px gutters and centered containers.
For complete grid system, see Grid.
Breakpoints
| Name | Min Width | Tailwind Prefix |
|---|---|---|
| sm | 640px | sm: |
| md | 768px | md: |
| lg | 1024px | lg: |
| xl | 1280px | xl: |
| 2xl | 1536px | 2xl: |