mirror of
https://github.com/t8y2/dbx.git
synced 2026-11-02 00:29:30 +00:00
fix(app): default app theme to light
This commit is contained in:
@@ -7,7 +7,7 @@ export type AppThemeAppearance = "light" | "dark";
|
||||
|
||||
export function normalizeAppThemeMode(value: string | null): AppThemeMode {
|
||||
if (value === "dark" || value === "light" || value === "system") return value;
|
||||
return "dark";
|
||||
return "light";
|
||||
}
|
||||
|
||||
export function resolveAppThemeAppearance(mode: AppThemeMode, systemPrefersDark: boolean): AppThemeAppearance {
|
||||
|
||||
Reference in New Issue
Block a user