From 9655f1207c21bcda067c7dbbacba261275367d45 Mon Sep 17 00:00:00 2001 From: alexanderroese Date: Fri, 21 Jun 2024 09:58:24 +0200 Subject: [PATCH] dynamic navbar colors --- layout/theme.liquid | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/layout/theme.liquid b/layout/theme.liquid index 5fca3db..c3c64f7 100644 --- a/layout/theme.liquid +++ b/layout/theme.liquid @@ -53,7 +53,7 @@ %} @@ -80,6 +80,12 @@ elsif page.url == "/pages/figuren" or product.tags contains "shx-figuren" assign scheme_id = "scheme-shx-figuren-navbar" endif + elsif scheme.id == "scheme-1" + if page.url == "/pages/texte" or product.tags contains "shx-texte" + assign scheme_id = "scheme-shx-figuren" + elsif page.url == "/pages/figuren" or product.tags contains "shx-figuren" + assign scheme_id = "scheme-shx-figuren" + endif endif if scheme_id != empty