Skip to content

Commit

Permalink
Make darkreader-lock default to light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RealFX-Code committed Mar 28, 2024
1 parent 1df24d9 commit 2019313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/HtmlHead.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2019313

Please sign in to comment.