Skip to main content
SolidBase

Theme Selector

since 0.0.9Source

Light, dark, and system theme switcher.

Options

  • light
  • dark
  • system

Behavior

  • uses Kobalte Select
  • reads the current selection from getThemeVariant()
  • persists changes with setTheme()
  • refreshes its label on mount so client theme state replaces any server guess

Last updated: 4/10/26, 11:49 PM

SolidBaseFully featured, fully customisable static site generation for SolidStart
Community
githubdiscord