Skip to content
OwnDocs
Feature

Theme variants

26 built-in color palettes, picked by whoever deploys the site, so it matches your brand without custom CSS.

  • 26 color palettes ship with the product, among them amber, violet, slate, teal, and zinc.
  • Whoever deploys the site picks the palette with a THEME_VARIANT environment variable, read once when the server starts.
  • Readers do not choose the palette. They get a separate control: a toggle that cycles light, dark, and system.
  • That light or dark choice is stored in the browser, so it holds from page to page and on the next visit.
  • Every component reads its colors from CSS custom properties, so a new palette is a variable swap rather than a rewrite of each component.

Our documentation site is built with OwnDocs, running the same code you receive.