Make light theme the default

This commit is contained in:
Alex Gleason 2025-06-02 10:14:56 -05:00
parent 3672a13ac8
commit 0ee653f631
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

View File

@ -2,14 +2,14 @@ import { useEffect, useState } from "react"
import { type Theme, ThemeContext } from "@/lib/ThemeContext" import { type Theme, ThemeContext } from "@/lib/ThemeContext"
type ThemeProviderProps = { type ThemeProviderProps = {
children: React.ReactNode children: React.ReactNode;
defaultTheme?: Theme defaultTheme?: Theme;
storageKey?: string storageKey?: string;
} }
export function ThemeProvider({ export function ThemeProvider({
children, children,
defaultTheme = "system", defaultTheme = "light",
storageKey = "theme", storageKey = "theme",
...props ...props
}: ThemeProviderProps) { }: ThemeProviderProps) {