Skip to content

Semantic spacing tokens

Condensed 4px grid. Tighter than shadcn defaults. Not mapped through @theme. Components reference these as arbitrary values: gap-[var(--vueda-gap-sm)], p-[var(--vueda-section-padding)], etc. Semantic spacing tokens provide the published 4px, 8px, and 12px steps.

NameLightDarkDescriptionTailwind utility
--vueda-gap-sm0.25rem4px — inside-control gap (icon to label, segment to segment).
--vueda-gap-md0.5rem8px — between controls in a row.
--vueda-gap-lg0.75rem12px — between groups within a section.
--vueda-section-padding0.75rem12px — card / panel interior padding.
--vueda-control-pxvar( --vueda-control-px-md )legacy alias for --vueda-control-px-md (12px); retained for consumers that predate the sm / md / lg ladder. Prefer the size-specific token.
--vueda-control-py0.25rem4px — legacy vertical padding constant; prefer the height-paired tokens above.

Tokens

--vueda-gap-sm

FieldValue
Light0.25rem
Sourceclient/lib/theme/vueda-tailwind/base.css:512

4px — inside-control gap (icon to label, segment to segment).

--vueda-gap-md

FieldValue
Light0.5rem
Sourceclient/lib/theme/vueda-tailwind/base.css:513

8px — between controls in a row.

--vueda-gap-lg

FieldValue
Light0.75rem
Sourceclient/lib/theme/vueda-tailwind/base.css:514

12px — between groups within a section.

--vueda-section-padding

FieldValue
Light0.75rem
Sourceclient/lib/theme/vueda-tailwind/base.css:515

12px — card / panel interior padding.

--vueda-control-px

FieldValue
Lightvar( --vueda-control-px-md )
Sourceclient/lib/theme/vueda-tailwind/base.css:517

legacy alias for --vueda-control-px-md (12px); retained for consumers that predate the sm / md / lg ladder. Prefer the size-specific token.

--vueda-control-py

FieldValue
Light0.25rem
Sourceclient/lib/theme/vueda-tailwind/base.css:520

4px — legacy vertical padding constant; prefer the height-paired tokens above.

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2