From 20193135684a66d234c242bf83b35c3a9ead2c38 Mon Sep 17 00:00:00 2001 From: rx Date: Fri, 29 Mar 2024 00:04:39 +0100 Subject: [PATCH] Make darkreader-lock default to light mode --- src/lib/HtmlHead.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/HtmlHead.svelte b/src/lib/HtmlHead.svelte index 979b1cc9..c769e210 100644 --- a/src/lib/HtmlHead.svelte +++ b/src/lib/HtmlHead.svelte @@ -5,7 +5,7 @@ import styles_light from "quilt-bulma/dist/style-light.min.css?url"; import { onMount } from "svelte"; - let userPrefersDarkMode: boolean; + let userPrefersDarkMode: boolean = false; onMount(function () { userPrefersDarkMode = window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches;