Default slide colors

pull/1/head
yflory 4 years ago
parent 4f2a8c2d85
commit 2501b39ba7

@ -527,8 +527,13 @@ define([
editor.focus(); editor.focus();
if (newPad) { if (newPad) {
var isDark = window.CryptPad_theme === "dark";
if (isDark) {
colors.updateLocalColors('#FFF', '#000');
} else {
colors.updateLocalColors('#000', '#FFF'); colors.updateLocalColors('#000', '#FFF');
} }
}
CodeMirror.setMode('markdown', function () { }); CodeMirror.setMode('markdown', function () { });
Slide.onChange(function (o, n, l) { Slide.onChange(function (o, n, l) {

Loading…
Cancel
Save