From 0d047f73271edbd9242c55645525df22b472c99f Mon Sep 17 00:00:00 2001 From: Sumner Evans Date: Thu, 16 Apr 2020 09:00:25 -0600 Subject: [PATCH] Address a few comments from from PR --- templates/base.html | 8 ++++---- templates/partial/flex.html | 7 ++----- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/templates/base.html b/templates/base.html index e880a61..5702021 100644 --- a/templates/base.html +++ b/templates/base.html @@ -32,13 +32,13 @@ {% endif %} - + {# DARK THEME STYLES #} {% if not THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE and not THEME_COLOR_ENABLE_USER_OVERRIDE and THEME_COLOR == "dark" %} {% endif %} {% if THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE %} - + {# Enable dark mode when media query matches and .light-theme class does not exist on tag #} {% endif %} {% if THEME_COLOR_ENABLE_USER_OVERRIDE %} - + {# Enable dark mode when .dark-theme class exists on tag #} {% endif %} - + {# PYGMENTS STYLES #} {% if THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE or THEME_COLOR == "dark" %} | light + | + browser - {% if THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE %} - | - browser - - {% endif %} theme {% endif %}