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 %}