This commit is contained in:
@@ -1,6 +1,3 @@
|
|||||||
// Light/dark switch. The page follows the OS theme until the button is used;
|
|
||||||
// the choice is then remembered in localStorage. Loaded in <head> so a saved
|
|
||||||
// theme is applied before the page paints.
|
|
||||||
(function () {
|
(function () {
|
||||||
var root = document.documentElement;
|
var root = document.documentElement;
|
||||||
var media = window.matchMedia('(prefers-color-scheme: dark)');
|
var media = window.matchMedia('(prefers-color-scheme: dark)');
|
||||||
|
|||||||
Reference in New Issue
Block a user