diff --git a/material/base.html b/material/base.html index 8cc225e18..fffc06df5 100644 --- a/material/base.html +++ b/material/base.html @@ -81,10 +81,8 @@ {% if not palette is mapping %} {% set palette = palette | first %} {% endif %} - {% set scheme = palette.scheme | d("default", true) %} - {% set primary = palette.primary %} - {% set accent = palette.accent %} -
+ {% set scheme = palette.scheme | d("default", true) %} + {% else %} {% endif %} diff --git a/material/partials/header.html b/material/partials/header.html index b1408e081..66264c00e 100644 --- a/material/partials/header.html +++ b/material/partials/header.html @@ -34,10 +34,8 @@ {% if not config.theme.palette is mapping %}