removed useless css for system dark mode detection

This commit is contained in:
Julien Maille 2021-10-13 22:49:56 +02:00
parent 4208a0001f
commit 9754ce25a2

View file

@ -1,19 +1,6 @@
let current = '2.6.0'
/* css is injected so this works with untouched user.css from Dribbblish */
/* dark theme */
document.styleSheets[0].insertRule(`
:root {
--system_is_dark: 1;
}`)
document.styleSheets[0].insertRule(`
@media (prefers-color-scheme: light) {
:root {
--system_is_dark: 0 !important;
}
}`)
/* progressbar tooltip text color */
document.styleSheets[0].insertRule(`
.playback-bar .prog-tooltip {