One of the 26 palette names.
Theme Variants
1 min readStableBeginner
OwnDocs ships 26 color palettes, each generating coordinated light mode, dark mode, and component-level CSS custom properties. Switching themes is a single environment variable — no code, no CSS overrides.
Quick Start
Set the default palette.
Bash
Bash
THEME_VARIANT=emeraldAdding Options
Every theme defines its palette in OKLCH, generating light-mode, dark-mode, and
semantic Tailwind aliases (surface-*, content-*, edge-*, brand-*).
Components reference the aliases, so dark mode works without dark: variant
classes.
Plain Text
Plain Text
26 palettes
├── emerald (default)
├── amber, blue, cyan, fuchsia, gray, green, indigo
├── lime, mauve, mist, neutral, olive, orange, pink
└── purple, red, rose, sky, slate, stone, taupe, teal, violet, yellow, zincAdvanced
Changing themes takes three steps: update THEME_VARIANT, restart the server,
and the whole site recolors automatically.
Options
THEME_VARIANTstringDefault: emeraldRelated pages
Was this page helpful?