Design System Foundations
Typography, Color & Surface Style Guide
A living editorial reference for every semantic OKLCH palette, typeface pairing, elevation surface, and radius token. Switch themes in the header to test contrast and tone in real time.01 · Typefaces
Typography & Type Scale
Three swappable font families served from canonical media/fonts/ and bridged directly onto Astryx semantic typography variables.Display Serif--dl-font-display
Aa Bb 01
PP Editorial Old
Reserved for primary display headlines and editorial emphasis.
Regular 400 · Italic 400 · Bold 700UI & Body Sans--dl-font-sans
Aa Bb 02
PP Editorial Sans
Crisp neo-editorial sans for section titles, navigation, and long-form reading.
Medium 400–500 · Italic · Ultrabold 600–800Code & Metadata--dl-font-mono
Aa 0x4F
JetBrains Mono
Token identifiers, bylines, technical callouts, and inline code snippets.
Regular 400 · Bold 700Editorial Type Scale
H1 · Display · var(--dl-font-display)
Crafted interfaces built on calm visual rhythm.
H2 · Section Heading · var(--dl-font-sans)
Semantic tokens keep design and copy independent
H3 · Subsection · var(--dl-font-sans)
Predictable hierarchy across every block
Body · Long-form Copy · var(--dl-font-sans)Every paragraph inherits accessible line-height and color contrast directly from the active OKLCH theme without hardcoding hex values.
Supporting · Secondary Copy · var(--dl-font-sans)Captions, lead-ins, and contextual metadata step back cleanly while remaining legible on every surface.
Label · UI Controls · var(--dl-font-sans)Navigation links, form labels, and card titles
Code · Technical Readout · var(--dl-font-mono)oklch(52% 0.22 270) · --dl-radius-box · /media/raw/fonts/
02 · OKLCH Palette
Semantic Color Tokens
Every swatch pairs its background token with its guaranteed foreground content token (Aa) so contrast holds across all ten themes.Base Surfaces & Neutral
Aa
Base 100--dl-base-100Primary card & elevated surface fill
Aa
Base 200--dl-base-200Page canvas & document body background
Aa
Base 300--dl-base-300Muted bands, hairlines, and subtle dividers
Aa
Neutral--dl-neutralHigh-contrast inverted surfaces & chips
Brand & Accent
Aa
Primary--dl-primaryKey actions, active focus rings, and links
Aa
Secondary--dl-secondarySupporting highlights and companion accents
Aa
Accent--dl-accentExpressive callouts and editorial flourishes
Semantic Status
Aa
Info--dl-infoInformational badges and guidance banners
Aa
Success--dl-successVerified states and positive confirmations
Aa
Warning--dl-warningCaution indicators and attention states
Aa
Error--dl-errorDestructive actions and validation alerts
03 · Surfaces, Shape & Atoms
Surfaces, Elevation & Radius
Compare card elevations, corner radii, and core interactive atoms as they adapt to each theme's tactile personality.Card Surfaces & Elevation
noneMuted FlatZero-shadow recessed band for callouts and code blocks.
lowLow ElevationDefault card lift for feature grids and specimens.
medMedium ElevationRaised interactive panels and floating controls.
highHigh ElevationPopovers, command layers, and modal dialogs.
Corner Radius Scale
--dl-radius-selector
Selector RadiusBadges, chips, toggles, and compact controls.
--dl-radius-field
Field RadiusButtons, text inputs, and media swatches.
--dl-radius-box
Box RadiusCards, callouts, and hero media frames.
Core Interactive Atoms Preview
NeutralInfoSuccessWarningError