This commit is contained in:
nnduc
2026-10-24 14:03:52 +07:00
commit 4fe046de58
4790 changed files with 311146 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
var Config = {
switchNightMode: function () {
document.body.classList.toggle('nightmode');
},
setAccentColor: function (color) {
document.body.style.setProperty('--movim-accent', 'var(--p-' + color + ')');
},
updateSystemVariable: function (variable, value) {
window[variable] = value;
}
}
MovimWebsocket.attach(function () {
Notif.current('configuration');
Config_ajaxMAMGetConfig();
Config_ajaxBlogGetConfig();
});