mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Dark background in boot2
This commit is contained in:
parent
ead767658f
commit
3084cf7129
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user