dynamic navbar colors

main
alexanderroese 2024-06-20 23:53:45 +02:00
parent 5667675bc1
commit 9c77f3be56
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@
%}
<script>
console.log("schemes8", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}")
console.log("schemes9", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}")
</script>
@ -81,7 +81,7 @@
{% if scheme.id == "scheme-shx-texte-navbar" and (page.url == "/pages/texte" or product.tags contains "shx-texte") %}
--gradient-background: {{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }};
{% else %}
--gradient-background: {{ scheme.settings.background }};
--gradient-background: #ea2027;
{% endif %}
{% endif %}