diff --git a/.planning/phases/07-dkv-fleet-module/07-UI-SPEC.md b/.planning/phases/07-dkv-fleet-module/07-UI-SPEC.md index 39ae250..d90595c 100644 --- a/.planning/phases/07-dkv-fleet-module/07-UI-SPEC.md +++ b/.planning/phases/07-dkv-fleet-module/07-UI-SPEC.md @@ -43,13 +43,18 @@ Declared values (must be multiples of 4). Source: codebase audit of existing com |-------|-------|----------------|-------| | xs | 4px | `gap-1`, `p-1` | Icon gaps, inline element padding | | sm | 8px | `gap-2`, `p-2` | Compact element spacing, icon-to-label gap | -| md | 12px | `px-3`, `py-1.5` | Input padding (h-9 pattern), nav item padding | | lg | 16px | `p-4`, `gap-4` | Default section padding, form field gap | | xl | 24px | `p-6`, `gap-6` | Card padding, section breaks | | 2xl | 32px | `gap-8` | Layout column gaps | | 3xl | 48px | — | Major page-level spacing | -**Exceptions:** none for this phase. +### Component Exceptions + +The following sub-4 spacing values appear in inherited component patterns. They are **not named scale tokens** — do not use them for new layout decisions. + +| Tailwind classes | Origin | Why not a token | +|-----------------|--------|-----------------| +| `px-3 py-1.5` (12px / 6px) | `CalendarSourceForm` `h-9` input pattern | Inherited browser-default input sizing; compensates for 36px target height within the 8-point grid constraint. Apply only inside `` and `