From be23c49d8099b7d367df39efa96634d7b9ded0e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Fri, 10 Jun 2016 19:19:18 +0200 Subject: [PATCH] misc: update to setting theme_color as a variable --- templates/theme.html | 4 ++++ themes.json | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/templates/theme.html b/templates/theme.html index ff11451..6e9518c 100644 --- a/templates/theme.html +++ b/templates/theme.html @@ -7,6 +7,10 @@ + {% if theme_color %} + + + {% endif %} diff --git a/themes.json b/themes.json index b98216e..8f95692 100644 --- a/themes.json +++ b/themes.json @@ -2,7 +2,7 @@ {"id": "vincennes", "label": "Vincennes", "variables": { - }, - "color": "#D91A80" + "theme_color": "#D91A80" + } } ]