Foundations
Spacing
A strict 4px base unit. Every spacing value is a multiple of 4. Use Tailwind's numeric scale (p-4, gap-6) for most cases, or the semantic aliases (space-md) when the intent matters more than the number.
Semantic Aliases
Named shortcuts that communicate intent. Prefer these over raw numbers in component APIs.
--space-xsp-space-xs / m-space-xs→ --space-14pxMicro — icon padding, tight chips
--space-smp-space-sm / m-space-sm→ --space-28pxSmall — compact UI, list gaps
--space-mdp-space-md / m-space-md→ --space-416pxMedium — standard component padding
--space-lgp-space-lg / m-space-lg→ --space-624pxLarge — card padding, section gaps
--space-xlp-space-xl / m-space-xl→ --space-1040pxXL — between major sections
--space-2xlp-space-2xl / m-space-2xl→ --space-1664px2XL — section x-padding
--space-3xlp-space-3xl / m-space-3xl→ --space-2496px3XL — full-section vertical padding
Component Tokens
Named for specific structural elements. Override these per-app to respace the layout.
--nav-height68pxFixed nav bar height
--section-padding-x64pxSection horizontal padding (maps to --space-16)
--section-padding-y80pxSection vertical padding (maps to --space-20)
Corner Radius
Nine steps from square to pill. --radius-2xl (24px) is the signature radius — applied to gallery photos, the hero, and category cards.
--radius-nonerounded-none0pxSquare — no rounding
--radius-smrounded-sm4pxSubtle — tags, badges
--radiusrounded8pxDefault — inputs, buttons
--radius-mdrounded-md8pxAlias for default
--radius-lgrounded-lg12pxCards, dropdowns
--radius-xlrounded-xl16pxModals, sheets
--radius-2xlrounded-2xl24pxGallery photos, hero, category cards ★
--radius-3xlrounded-3xl40pxReserved — extra-large pill containers
--radius-fullrounded-full9999pxPills, avatars, circular buttons
Full Scale
All Tailwind spacing utilities available in Blanc. Each step = 4px. The scale is identical to Tailwind's default — these are documented here for reference and mapped as CSS custom properties.
px--space-px1pxHairline / 1px borders
0.5--space-0-52pxTight micro-gap
1--space-14pxBase unit
1.5--space-1-56px2--space-28pxCompact padding (badges, chips)
2.5--space-2-510px3--space-312pxSmall gap between elements
3.5--space-3-514px4--space-416pxStandard component padding
5--space-520px6--space-624pxSection gap, card padding
7--space-728px8--space-832pxLarge component padding
9--space-936px10--space-1040pxInter-section gap (medium)
11--space-1144px12--space-1248pxNav-related spacing
14--space-1456px16--space-1664pxSection horizontal padding
20--space-2080pxSection vertical padding
24--space-2496pxLarge section gap
28--space-28112px32--space-32128px36--space-36144px40--space-40160px48--space-48192px56--space-56224px64--space-64256px80--space-80320px96--space-96384px