Feat: add theme switcher (#18093)
This commit is contained in:
parent
297d35364e
commit
3548c133e3
23 changed files with 330 additions and 54 deletions
|
|
@ -65,8 +65,7 @@ const LocaleLayout = async ({
|
|||
<TanstackQueryIniter>
|
||||
<ThemeProvider
|
||||
attribute='data-theme'
|
||||
forcedTheme='light'
|
||||
defaultTheme='light' // TODO: change to 'system' when dark mode ready
|
||||
defaultTheme='system'
|
||||
enableSystem
|
||||
disableTransitionOnChange
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue