Design System Guide

Visual reference for theme-responsive primitives. Toggle the daily theme to see how components adapt.

Colors

Core color tokens that adapt to light/dark mode and daily themes.

--color-bg
--color-text
--color-link
--color-link-hover
--color-border
--color-muted
--color-sidebar-bg
--color-nav-bg

Typography

Text styles that respond to theme font pairings and weights.

.text-heading

The quick brown fox

.text-body

The quick brown fox jumps over the lazy dog. This paragraph demonstrates the body text style with proper line height and letter spacing.

.text-caption

Caption text for metadata and secondary information

.text-mono

const theme = 'dynamic';

.text-muted

Muted text for less prominent content

Size Scale

.text-xs - Extra small text

.text-sm - Small text

.text-base - Base text

.text-lg - Large text

.text-xl - Extra large text

.text-2xl - 2X large text

.text-3xl - 3X large text

Buttons

Button variants that adapt to theme colors and border radius.

.btn-primary
.btn-secondary
.btn-ghost
.btn-link

Sizes

States

Cards

Card variants respond to [data-card-style] theme attribute.

.card

Default Card

Standard card with border and background.

.card-elevated

Elevated Card

Card with shadow, no border.

.card-outlined

Outlined Card

Strong border, transparent background.

.card-glass

Glass Card

Glassmorphism with blur effect.

.card-filled

Filled Card

Solid background, no border.

.card-interactive

Interactive Card

Hover to see lift effect.

Card with Header/Footer

Card Header

This is the card body content with proper spacing.

Surfaces

Background surfaces with different elevation levels.

.surface

Default surface

.surface-raised

Elevated surface

.surface-sunken

Recessed surface

.surface-glass

Glass blur surface

Images

Image styles respond to [data-image-style] and [data-image-hover] attributes.

.img-themed Sample themed image
.img-thumbnail Sample thumbnail

Avatars

Small avatar .img-avatar-sm
Default avatar .img-avatar
Large avatar .img-avatar-lg

Badges

Small labels for status, categories, or counts.

Default .badge
Primary .badge-primary
Muted .badge-muted

Inputs

Form elements that adapt to theme colors.

Dividers

Horizontal rules for separating content.

.divider
.divider-subtle
.divider-thick

Spacing

Spacing utilities using the spacing scale.

xs (4px)
sm (8px)
md (16px)
lg (24px)
xl (32px)
2xl (48px)

Border Radius

sm
md
lg
xl
full

Layout

Grid and flexbox utilities.

Grid

Col 1
Col 2
Col 3

Flexbox

Flex 1
Flex 1
Flex 1
Start
End

Current Theme

Information about the currently active theme.

Theme Active

Checking...

Nav Style

Card Style

Link Style
Hero Layout

Image Style