From c62ff2c283c353ba2e82492ba7b2194693b75865 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 11 Nov 2022 17:30:22 +0100 Subject: [PATCH] Allowed to override primary and accent colors more easily --- material/base.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/material/base.html b/material/base.html index 43f25d62f..676c4ec4e 100644 --- a/material/base.html +++ b/material/base.html @@ -34,7 +34,7 @@ {% endif %} {% endblock %} {% block styles %} - + {% if config.theme.palette %} {% set palette = config.theme.palette %} @@ -81,9 +81,9 @@ {% if not palette is mapping %} {% set palette = palette | first %} {% endif %} - {% set scheme = palette.scheme | d("default", true) %} - {% set primary = palette.primary | d("indigo", true) %} - {% set accent = palette.accent | d("indigo", true) %} + {% set scheme = palette.scheme | d("default", true) %} + {% set primary = palette.primary %} + {% set accent = palette.accent %} {% else %}