We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 313983e commit 1c7b3a5Copy full SHA for 1c7b3a5
scripts/ColorSchemeSwitchThreeStates/js/switch-script.js
@@ -11,6 +11,7 @@
11
window.inlineScripts.switchColorScheme = function () {
12
const previousScheme = localStorage.colorScheme;
13
14
+ // Cycle: Dark -> Light -> System -> Dark -> ...
15
if (localStorage.colorScheme === "__DARK__") {
16
setColorScheme("__LIGHT__");
17
localStorage.colorScheme = "__LIGHT__";
0 commit comments