set initial theme

This commit is contained in:
John Bowdre 2024-08-16 17:44:46 -05:00
parent f0b675cddc
commit 222f1276c5

View file

@ -38,3 +38,5 @@ window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', (e)
setTheme(newTheme);
}
});
setTheme(getPreferredTheme());