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 de7f90b commit 8e952fbCopy full SHA for 8e952fb
src/js/theme.js
@@ -78,6 +78,14 @@ var theme = (function(){
78
}
79
};
80
81
+bind.style={
82
+initial: function(){
83
+window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",function(event){
84
+mod.style.initial();
85
+});
86
+}
87
+};
88
+
89
varmod={};
90
91
mod.apply=function(data){
@@ -3088,6 +3096,7 @@ var theme = (function(){
3088
3096
mod.accent.random();
3089
3097
mod.custom.close();
3090
3098
bind.accent.cycle.toggle();
3099
+bind.style.initial();
3091
3100
render.font.load.display();
3092
3101
render.font.load.ui();
3093
3102
render.font.display.name();
0 commit comments