API Reference
theme
A store for tracking the current theme.
A readable store that contains the current theme, not to be confused with mode
, which contains the current mode ('light'
, 'dark'
or 'system'
). The theme can be any arbitrary string value set by the developer, and can be used in conjunction with mode
to create a custom theme switcher, similar to Daisy UI's.