mirror of
https://github.com/BewlyBewly/BewlyBewly.git
synced 2025-04-14 13:15:29 +00:00
fix: dark background in light mode
This commit is contained in:
@@ -15,7 +15,7 @@ let beforeLoadedStyleEl: HTMLStyleElement
|
||||
|
||||
if (settings.value.theme === 'dark' || (settings.value.theme === 'auto' && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
beforeLoadedStyleEl = injectCSS(`
|
||||
html {
|
||||
html.dark {
|
||||
background-color: hsl(230 12% 6%);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user