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

space-14px
space-28px
space-312px
space-416px
space-520px
space-624px
space-728px
space-832px
space-1040px
space-1664px
TokenValueUsage
space-14pxStripe gap under the hero (3px at marker size); dot prefix on outlined tags.
space-28pxButton vertical padding; label-to-input gap; list row padding; hero icon-to-line gap.
space-312pxInput horizontal padding; section-header gap; callout title-to-body gap.
space-416pxButton horizontal padding; callout horizontal padding; gallery card inner padding; sidebar nav gap.
space-520pxGallery card padding and grid gap.
space-624pxCard padding; page gutter; grid gap between rule cards.
space-728pxClosing band vertical padding; sidebar horizontal padding.
space-832pxSidebar vertical padding; content gutter inside the sidebar layout.
space-1040pxSecond-moment panel padding; sidebar nav top margin.
space-1664pxSection 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 header · border, then red for emphasis
Section title
Emphasized section
With stripe marker
Elevation is a background step

card on background

1px border, one step up, no shadow.

Corner radius

TokenValueUsage
radius0.5remThe one base radius (theme.css --radius). Rarely used: most corners are square. rounded-full is reserved for 6px dot indicators only.
square
0.5rem
dot only

theme.css also derives --radius-sm / --radius-md / --radius-lg as base minus 2px, base, base plus 2px for Tailwind's utilities.

Sizing

TokenValueUsage
content-max1100pxMax content width, centered. Inside the sidebar layout the inner column is 900px.
sidebar-width22%Red Structural Block sidebar width, capped at about 25% of the viewport.
sidebar-min220pxSidebar minimum width.
sidebar-max280pxSidebar maximum width.
turquoise-block-max15vhCap on the Turquoise second-moment panel and closing band: each about 15% of viewport height.
callout-max60chTurquoise callout max width: content-sized, never full-bleed.
modal-max560pxModal panel max width.
border-width1pxEvery border.
rule-heavy2pxTable header rule; pull-quote left rule; Turquoise underline; nav-link flourish.
stripe-height3pxTri-part segment stripe thickness.
stripe-marker36pxStripe as a heading marker (gap 3px).
stripe-hero64pxStripe under the hero (gap 4px).
stripe-flourish140pxStripe as a closing flourish (gap 6px).
icon20pxgeist-icons box (16 to 20px), stroke 1.5, square caps, miter joins.
dot6pxStatus pip dot and the Turquoise decorative dot. The only rounded-full elements.

Opacity

State is opacity or weight, never a new color

TokenValueUsage
disabled0.4Disabled controls: always opacity 0.4, never a color change.
nav-rest0.75Sidebar nav link at rest; 1 on hover, plus the Turquoise underline flourish.
panel-label0.7Label on a Turquoise panel, highlight-foreground at 70%.
backdrop0.8Modal backdrop: background at 80%.
wash0.1Turquoise wash behind a block; the Accent card uses 8%, the Interactive card's hover 5%.
grid-line0.15Chart grid lines in muted-foreground.
zero-axis0.4Chart zero line; the toggle middot.