Skip to content

Themes

WebArcade uses DaisyUI for theming, providing 30+ built-in themes and support for custom themes.

Overview

Themes control the entire look and feel of your application:

  • Colors - Primary, secondary, accent, and semantic colors
  • Typography - Text colors and contrast
  • Components - Button styles, card shadows, input borders
  • Transitions - Animation speeds

Switching themes updates everything instantly with no page reload.

Quick Start

jsx
// Set theme programmatically
api.theme.set('dracula');

// Get current theme
const current = api.theme.get();

// Check if dark theme
if (api.theme.isDark()) {
    // Dark mode specific logic
}

// Follow system preference
api.theme.setAuto();

Built-in Themes

Light Themes

ThemeDescription
lightDefault light theme
cupcakeSoft pink and purple
bumblebeeYellow and black
emeraldGreen focused
corporateProfessional blue
gardenNature inspired
lofiLow contrast light
pastelSoft pastel colors
fantasyPurple and pink
wireframeMinimal wireframe style
cmykPrint-inspired colors
autumnWarm fall colors
acidBright neon colors
lemonadeFresh citrus colors
winterCool winter tones

Dark Themes

ThemeDescription
darkDefault dark theme
synthwaveRetro 80s neon
halloweenOrange and purple
forestDark green
aquaTeal and cyan
blackPure black
luxuryGold and black
draculaPopular dark theme
businessProfessional dark
nightDeep blue night
coffeeBrown tones
dimSubtle dark
nordNordic color palette
sunsetWarm sunset colors

Theme Sections

Using Themes

Set, switch, and detect themes in your plugins.

Theme Colors

Understanding semantic colors and how to use them.

Released under the MIT License.