Theme

Customize your application's color palette using CSS variables. The theme system provides semantic color tokens for consistent styling across all components.

Primary
Soft Primary
Secondary
Soft Secondary
Success
Soft
Info
Soft
Warning
Soft
Danger
Soft
Surface
Muted
Soft Muted
Background

Color Guidelines

Brand Colors
Semantic Colors
Neutral Colors

Brand Colors (Primary, Secondary)

  • Main color: Use weight 600 (e.g., blue-600, pink-600)
  • Soft color: Use weight 100 (e.g., blue-100, pink-100) for subtle backgrounds
  • On color: Use --on-light or --on-dark based on background
Primary
Soft Primary
Secondary
Soft Secondary

Light Mode Colors

On Dark

Text color used on dark backgrounds (primary, secondary, success, etc.)

On Dark
On Light

Text color used on light backgrounds (muted, background, surface, warning)

On Light
Primary

Main brand color for primary actions and emphasis

Primary
Soft Primary

Soft variant of primary for backgrounds and subtle emphasis

Soft Primary
Secondary

Secondary brand color for supporting elements

Secondary
Soft Secondary

Soft variant of secondary for backgrounds and subtle emphasis

Soft Secondary
Muted

Subtle background color for less prominent elements

Muted
Soft Muted

Softer variant of muted for very subtle backgrounds

Soft Muted
Background

Main background color for the application

Background
Success

Indicates successful operations and positive states

Success
Soft Success

Soft variant of success for backgrounds and subtle indicators

Soft Success
Info

Informational messages and neutral notifications

Info
Soft Info

Soft variant of info for backgrounds and subtle indicators

Soft Info
Warning

Warning messages and cautionary states

Warning
Soft Warning

Soft variant of warning for backgrounds and subtle indicators

Soft Warning
Danger

Error states and destructive actions

Danger
Soft Danger

Soft variant of danger for backgrounds and subtle indicators

Soft Danger
Surface

Background color for cards and elevated surfaces

Surface

Dark Mode Colors

Toggle dark mode using the button in the top navigation to see your changes.
Secondary

Dark mode secondary color

Secondary
Soft Secondary

Dark mode soft secondary color

Soft Secondary
Muted

Dark mode subtle background color

Muted
Soft Muted

Dark mode softer muted color

Soft Muted
Background

Dark mode main background color

Background
Surface

Dark mode background for cards and elevated surfaces

Surface

CSS Variables Reference

VariableDescription
--on-darkText/icon color for use on dark backgrounds
--on-lightText/icon color for use on light backgrounds
--primaryMain brand color for primary actions
--secondarySecondary brand color for supporting elements
--mutedSubtle background for less prominent elements
--backgroundMain application background color
--surfaceBackground for cards and elevated surfaces
--successSuccess states and positive feedback
--infoInformational messages and neutral states
--warningWarning messages and cautionary states
--dangerError states and destructive actions

Usage Examples