Skip to main content

Colors & Theming

Change colors to match your brand and implement dark mode.

Inline Styles Variant

Color Palette Guides

Component files have color palette documentation in their headers:
Format: Light Color → Dark Color

Changing Colors

  1. Find the color to change using your editor’s search
  2. Replace with your brand color

Dark Mode (Inline Styles)

Use the theme prop:
Components check theme and apply colors:

Tailwind CSS Variant

Changing Colors

Option 1: Change Classes Directly

Option 2: Extend Tailwind Config

Dark Mode (Tailwind)

Components use dark: prefix for dark mode:
Setup:
  1. Configure Tailwind for class-based dark mode:
  1. Add dark class to parent element:
All components automatically switch to dark mode.

Common Customizations

Change Primary Brand Color

Inline Styles:
Tailwind:

Customize Dark Mode Colors

Edit the dark color values in components:

Next Steps

Layout & Structure

Modify component layout

Styling Variants

Inline styles vs Tailwind