Framework style guide
Tokens & primitives
Every value below is read live from CSS custom properties emitted by framework.scss.
Change them in override.scss and this page reflects the update.
For reusable layout blocks (hero, CTA, cards), see Components.
Colors
10 families ร 8 shades. Families inherit base chroma; semantics override for consistent vibrance.
Hover tokens are derived at runtime via oklch(from var(--X-medium) โฆ).
primary
secondary
tertiary
accent
base
neutral
success
warning
info
danger
Spacing
Fluid between mobile and desktop via clamp(). Resize the window to see tokens recompute.
Section spacing
Larger vertical rhythm for hero areas and major layout blocks. Desktop ร3, mobile ร2 of the standard spacing scale.
Typography
7 fluid type steps. Base 18px desktop / 16px mobile; scale ratio 1.25 / 1.2.
--text-2xs
The quick brown fox
--text-xs
The quick brown fox
--text-sm
The quick brown fox
--text-md
The quick brown fox
--text-lg
The quick brown fox
--text-xl
The quick brown fox
--text-2xl
The quick brown fox
Border radius
--radius-sm --radius-md --radius-lg --radius-xl --radius-2xl --radius-full Primitive elements
Styled by base.scss โ safe defaults for h1โh6, paragraphs, links, forms.
Headings
h1 heading
h2 heading
h3 heading
h4 heading
h5 heading
h6 heading
Text
A short paragraph of body copy. Line height and margin come from base.scss.
Inline links inherit the primary color and switch to the semi-dark shade on hover.
Monospace via code: var(--primary-medium).