From 1b7173b29f31249a8a5b10f1990124889248886f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Benqu=C3=A9?= Date: Mon, 8 Feb 2021 10:58:10 +0000 Subject: [PATCH] Use Dracula theme by default in dark Codemirror --- www/common/sframe-common-codemirror.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/common/sframe-common-codemirror.js b/www/common/sframe-common-codemirror.js index 98a260c23..02370bc47 100644 --- a/www/common/sframe-common-codemirror.js +++ b/www/common/sframe-common-codemirror.js @@ -381,7 +381,7 @@ define([ /* Remember the user's last choice of theme using localStorage */ var isDark = window.CryptPad_theme === "dark"; var themeKey = ['codemirror', isDark ? 'themedark' : 'theme']; - var defaultTheme = isDark ? 'ansuz' : 'default'; + var defaultTheme = isDark ? 'dracula' : 'default'; var todo = function (err, lastTheme) { lastTheme = lastTheme || defaultTheme;