diff --git a/edit/codemirror-default.css b/edit/codemirror-default.css index 191b9813..6d68219a 100644 --- a/edit/codemirror-default.css +++ b/edit/codemirror-default.css @@ -85,7 +85,7 @@ background: linear-gradient(0deg, hsla(180, 100%, 30%, .75) 2px, hsla(180, 100%, 30%, .2) 2px); } -@media (prefers-color-scheme: dark) { +@media screen and (prefers-color-scheme: dark), dark { .CodeMirror-dialog { background-color: #333; } diff --git a/js/dark-themer.js b/js/dark-themer.js index ca983e13..0b473bf8 100644 --- a/js/dark-themer.js +++ b/js/dark-themer.js @@ -3,9 +3,9 @@ /** * This file must be loaded in a