change default theme to light
left 00d3f56f2e
(default to dark theme while loading pages) because it's expected that most people who are logged in or have visited the site before will use dark
This commit is contained in:
parent
8eaa96f018
commit
469c167a8e
|
@ -6,7 +6,7 @@ import type { MeUser, Settings } from "./api/entities";
|
|||
const initialUserValue = null;
|
||||
export const userStore = writable<MeUser | null>(initialUserValue);
|
||||
|
||||
const defaultThemeValue = "dark";
|
||||
const defaultThemeValue = "light";
|
||||
const initialThemeValue = browser
|
||||
? window.localStorage.getItem("pronouns-theme") ?? defaultThemeValue
|
||||
: defaultThemeValue;
|
||||
|
|
Loading…
Reference in New Issue