From ebc0c776e2652fa1a88810b8b8cd58473b5784be Mon Sep 17 00:00:00 2001 From: Andrey Date: Sat, 5 Aug 2017 09:09:25 +0300 Subject: [PATCH] Add theme-choosing UI to config panel (#363) * Add theme-choosing UI to config panel * Add Backend-selected option * Use Object.assign to change hass * Fix #368 - support theme-color update. --- panels/config/ha-panel-config.html | 14 +++ .../themes/ha-config-section-themes.html | 85 +++++++++++++++++++ src/home-assistant.html | 38 ++++++--- src/util/ha-pref-storage.html | 1 + src/util/hass-util.html | 33 ++++--- 5 files changed, 145 insertions(+), 26 deletions(-) create mode 100644 panels/config/themes/ha-config-section-themes.html diff --git a/panels/config/ha-panel-config.html b/panels/config/ha-panel-config.html index 91621b8b9e..1b76377fd9 100644 --- a/panels/config/ha-panel-config.html +++ b/panels/config/ha-panel-config.html @@ -8,6 +8,7 @@ +