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:
Kay Faraday 2023-09-20 01:01:45 +00:00
parent 8eaa96f018
commit 469c167a8e
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ import type { MeUser, Settings } from "./api/entities";
const initialUserValue = null; const initialUserValue = null;
export const userStore = writable<MeUser | null>(initialUserValue); export const userStore = writable<MeUser | null>(initialUserValue);
const defaultThemeValue = "dark"; const defaultThemeValue = "light";
const initialThemeValue = browser const initialThemeValue = browser
? window.localStorage.getItem("pronouns-theme") ?? defaultThemeValue ? window.localStorage.getItem("pronouns-theme") ?? defaultThemeValue
: defaultThemeValue; : defaultThemeValue;