mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2025-08-26 20:49:22 +00:00
Make light theme the default
This commit is contained in:
parent
3672a13ac8
commit
0ee653f631
@ -2,14 +2,14 @@ import { useEffect, useState } from "react"
|
||||
import { type Theme, ThemeContext } from "@/lib/ThemeContext"
|
||||
|
||||
type ThemeProviderProps = {
|
||||
children: React.ReactNode
|
||||
defaultTheme?: Theme
|
||||
storageKey?: string
|
||||
children: React.ReactNode;
|
||||
defaultTheme?: Theme;
|
||||
storageKey?: string;
|
||||
}
|
||||
|
||||
export function ThemeProvider({
|
||||
children,
|
||||
defaultTheme = "system",
|
||||
defaultTheme = "light",
|
||||
storageKey = "theme",
|
||||
...props
|
||||
}: ThemeProviderProps) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user