DocsBlog

Get Started

Components

Data Grid

Signals

Styling

Theming

↑↓Navigate
↵Select
EscClose
  • 1.8.0

  • Day

    Night

    Preview

    Switch mode
  • cerberus

    acheron

    elysium

    oceanus

Get Started
Components
Data Grid
Signals
Styling
Theming

Overview

Get StartedInstallationFAQContributing to Cerberus

AI

LLMS.txtContext-7

Presets

Theme Presets

Theme Presets

Learn how to use different themes in Cerberus

View as Markdown
Open this page in Markdown
Anthropic
Open in Claude
Ask questions about this page
OpenAI
Open in ChatGPT
Ask questions about this page

Note

Every theme listed is featured on this website in the theme selector menu located in the top right corner.

Cerberus has a set of additional theme presets that you can use to quickly apply a consistent look and feel to your application.

You can either use the official theme presets or create your own theme and submit it as a pull request to the Cerberus GitHub repository.

List of Cerberus Themes

  • @cerberus/preset-cerberus-theme: the base theme which comes built-in with Cerberus
  • @cerberus/preset-acheron-theme: A earthy toned theme
  • @cerberus/preset-elysium-theme: A high-contrast theme
  • @cerberus/preset-oceanus-theme: A blue theme

Contents

A theme preset should contains the following configuration updates and helpers:

  • Semantic Tokens
  • Theme-specific condition using the naming convention [themeName]Theme
  • A getThemeName helper function

Package Naming

Theme packages should be named @cerberus/preset-[themeName]-theme.

Using Official Theme Presets

To use any of the official theme presets, install the package and update your panda.config.ts file accordingly.

panda.config.ts
import { defineConfig } from '@pandacss/dev'
import { cerberusPreset, cerberusConfig } from '@cerberus/panda-preset'
import { acheronTheme, getAcheronThemeName } from '@cerberus/preset-acheron-theme'
 
export default defineConfig({
  ...cerberusConfig,
 
  include: ['./src/**/*.{ts,tsx,js,jsx}'],
  exclude: [],
 
  presets: [cerberusPreset(), acheronTheme],
 
  staticCss: {
    themes: ['cerberus', getAcheronThemeName()],
  },
})

On this page

  • List of Cerberus Themes
    • Contents
    • Package Naming
  • Using Official Theme Presets
Edit this page on Github