03 — Foundations
Spacing
The source declares no spacing variables; these steps are the values the skill and the showcase actually use, named on the Tailwind stems they appear as. Radius is one token, rarely used. Fixed sizes, including the caps on Turquoise's blocks, and opacities complete the set.
Spacing scale
| Token | Value | Usage |
|---|---|---|
space-1 | 4px | Stripe gap under the hero (3px at marker size); dot prefix on outlined tags. |
space-2 | 8px | Button vertical padding; label-to-input gap; list row padding; hero icon-to-line gap. |
space-3 | 12px | Input horizontal padding; section-header gap; callout title-to-body gap. |
space-4 | 16px | Button horizontal padding; callout horizontal padding; gallery card inner padding; sidebar nav gap. |
space-5 | 20px | Gallery card padding and grid gap. |
space-6 | 24px | Card padding; page gutter; grid gap between rule cards. |
space-7 | 28px | Closing band vertical padding; sidebar horizontal padding. |
space-8 | 32px | Sidebar vertical padding; content gutter inside the sidebar layout. |
space-10 | 40px | Second-moment panel padding; sidebar nav top margin. |
space-16 | 64px | Section vertical padding; hero-band vertical padding. |
Layout
Content is centered at content-max (1100px; 900px inside the sidebar layout) with space-6 gutters. Sections take space-16 with a 1px top border. Cards pad space-6, callouts 14px by space-4, the second-moment panel space-10, the closing band space-7. Buttons pad space-2 by space-4.
Section title
Emphasized section
With stripe marker
card on background
1px border, one step up, no shadow.
Corner radius
| Token | Value | Usage |
|---|---|---|
radius | 0.5rem | The one base radius (theme.css --radius). Rarely used: most corners are square. rounded-full is reserved for 6px dot indicators only. |
theme.css also derives --radius-sm / --radius-md / --radius-lg as base minus 2px, base, base plus 2px for Tailwind's utilities.
Sizing
| Token | Value | Usage |
|---|---|---|
content-max | 1100px | Max content width, centered. Inside the sidebar layout the inner column is 900px. |
sidebar-width | 22% | Red Structural Block sidebar width, capped at about 25% of the viewport. |
sidebar-min | 220px | Sidebar minimum width. |
sidebar-max | 280px | Sidebar maximum width. |
turquoise-block-max | 15vh | Cap on the Turquoise second-moment panel and closing band: each about 15% of viewport height. |
callout-max | 60ch | Turquoise callout max width: content-sized, never full-bleed. |
modal-max | 560px | Modal panel max width. |
border-width | 1px | Every border. |
rule-heavy | 2px | Table header rule; pull-quote left rule; Turquoise underline; nav-link flourish. |
stripe-height | 3px | Tri-part segment stripe thickness. |
stripe-marker | 36px | Stripe as a heading marker (gap 3px). |
stripe-hero | 64px | Stripe under the hero (gap 4px). |
stripe-flourish | 140px | Stripe as a closing flourish (gap 6px). |
icon | 20px | geist-icons box (16 to 20px), stroke 1.5, square caps, miter joins. |
dot | 6px | Status pip dot and the Turquoise decorative dot. The only rounded-full elements. |
Opacity
State is opacity or weight, never a new color
| Token | Value | Usage |
|---|---|---|
disabled | 0.4 | Disabled controls: always opacity 0.4, never a color change. |
nav-rest | 0.75 | Sidebar nav link at rest; 1 on hover, plus the Turquoise underline flourish. |
panel-label | 0.7 | Label on a Turquoise panel, highlight-foreground at 70%. |
backdrop | 0.8 | Modal backdrop: background at 80%. |
wash | 0.1 | Turquoise wash behind a block; the Accent card uses 8%, the Interactive card's hover 5%. |
grid-line | 0.15 | Chart grid lines in muted-foreground. |
zero-axis | 0.4 | Chart zero line; the toggle middot. |