Dark background in boot2

pull/1/head
yflory 2021-01-26 16:00:24 +01:00
parent ead767658f
commit 3084cf7129
1 changed files with 5 additions and 0 deletions

View File

@ -22,6 +22,11 @@ try {
localStorage[key+'_default'] = os;
}
}
if (window.CryptPad_theme === 'dark') {
var s = document.createElement('style');
s.innerHTML = 'body { background: black; }';
document.body.appendChild(s);
}
//localStorage[key] = theme;
// If the wrong theme is built, flush it
/* XXX flush cache when change