Colors

All colors are defined as CSS custom properties in :root. The palette uses warm neutrals for backgrounds, cool slate tones for text, and a near-black accent for actions.

Backgrounds

TokenValueUsage
--color-bg#fbfbf8Page background (warm off-white)
--color-bg-alt#fdfcf9Hover backgrounds, alternate sections
--color-surfacehsla(0, 0%, 100%, 0.92)Card backgrounds (semi-transparent white)
--color-surface-althsla(0, 0%, 100%, 0.9)Sidebar hover, secondary surfaces

The body also applies a subtle vertical gradient:

background-image: linear-gradient(180deg, #fbfbf8, #f9fafb 52%, #fbfbf8);

Text

TokenValueUsage
--color-text#0f172aPrimary text, headings
--color-text-secondary#475569Body text, descriptions
--color-text-muted#64748bLabels, captions, placeholders

Borders

TokenValueUsage
--color-border#e2e8f0Dividers, table borders
--color-border-lightrgba(226, 232, 240, 0.8)Card borders, subtle dividers

Accent

TokenValueUsage
--color-accent#111827Primary buttons, active links, inline code
--color-accent-hover#1f2937Button hover, link hover
--color-accent-light#f3f4f6Icon containers, active sidebar items
--color-accent-subtle#e5e7ebCode backgrounds, blockquote backgrounds

Status

TokenValueUsage
--color-green#16a34aSuccess states
--color-red#dc2626Error states
--color-amber#d97706Warning states
--color-blue#2563ebInfo states

Selection

::selection {
  background: rgba(17, 24, 39, 0.2);
  color: #111827;
}

Code block colors

Code blocks use a dark theme:

ElementValue
Header background#0e0e0e
Code background#1e1e2e
Code text#cdd6f4
Window dots#ff5f57 (red), #febc2e (yellow), #28c840 (green)