Fixed color scheme not being applied without primary or accent color

This commit is contained in:
squidfunk 2020-05-22 17:37:02 +02:00
parent 2135e342a2
commit 4c74ac251a
7 changed files with 9 additions and 9 deletions

View File

@ -5,8 +5,8 @@
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.de50e36d.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.27c6a5e6.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.27c6a5e6.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.55fa3425.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.55fa3425.min.css.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.58cd5b42.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.58cd5b42.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.02db69e1.min.css",
"assets/stylesheets/palette.css.map": "assets/stylesheets/palette.02db69e1.min.css.map"
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -41,8 +41,8 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.55fa3425.min.css' | url }}">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.58cd5b42.min.css' | url }}">
{% if palette.scheme or palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.02db69e1.min.css' | url }}">
{% endif %}
{% if palette.primary %}

View File

@ -93,7 +93,7 @@
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.css' | url }}" />
<!-- Extra color palette -->
{% if palette.primary or palette.accent %}
{% if palette.scheme or palette.primary or palette.accent %}
<link
rel="stylesheet"
href="{{ 'assets/stylesheets/palette.css' | url }}"