fix(app): default app theme to light

This commit is contained in:
t8y2
2026-05-22 10:42:28 +08:00
parent a29b95b9fa
commit e1fc3a4fc1
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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 {