This commit is contained in:
parent
50751e0c20
commit
b384f1b30a
2 changed files with 21 additions and 21 deletions
|
|
@ -15,7 +15,7 @@ type ThemeProviderState = {
|
|||
}
|
||||
|
||||
const initialState: ThemeProviderState = {
|
||||
theme: "system",
|
||||
theme: "dark",
|
||||
setTheme: () => null,
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { useTheme } from "@/context/ThemeProvider"
|
|||
|
||||
const MainTemplate = (props) => {
|
||||
return (
|
||||
<ThemeProvider defaultTheme="light" storageKey="vite-ui-theme">
|
||||
<ThemeProvider defaultTheme="dark" storageKey="vite-ui-theme">
|
||||
<MainContent>{props.children}</MainContent>
|
||||
</ThemeProvider>
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue