From dfa7727e84c9fc60a7460bcee8e218a2cef2bca2 Mon Sep 17 00:00:00 2001 From: Awilum Date: Tue, 10 Sep 2019 11:09:36 +0300 Subject: [PATCH] fix(admin-plugin): fix dark theme for admin panel #186 #168 --- site/plugins/admin/views/partials/codemirror.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/plugins/admin/views/partials/codemirror.html b/site/plugins/admin/views/partials/codemirror.html index 9fc5fd52..54ea086b 100644 --- a/site/plugins/admin/views/partials/codemirror.html +++ b/site/plugins/admin/views/partials/codemirror.html @@ -19,9 +19,9 @@ mode: "application/x-httpd-php", {% endif %} indentWithTabs: false, - {% if registry.settings.admin_panel.theme == light %} + {% if registry.settings.admin_panel.theme == 'light' %} theme: "elegant", - {% elseif registry.settings.admin_panel.theme == dark %} + {% elseif registry.settings.admin_panel.theme == 'dark' %} theme: "monokai", {% endif %} styleActiveLine: true,