default light

This commit is contained in:
Matthew Wong 2022-07-20 10:30:34 -04:00
parent 1797564450
commit 762b552746

View File

@ -1,4 +1,5 @@
const userPref = window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark'
// const userPref = window.matchMedia('(prefers-color-scheme: light)').matches ? 'light' : 'dark'
const userPref = 'light'
const currentTheme = localStorage.getItem('theme') ?? userPref
if (currentTheme) {