From 355d351a34771f6b2c1bd52d6f7759be8636a84f Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Fri, 10 Aug 2018 14:10:45 +0200 Subject: [PATCH] Update theme docs --- source/_components/frontend.markdown | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/source/_components/frontend.markdown b/source/_components/frontend.markdown index 3cb9e3d5fc8..eb8d14b42b2 100644 --- a/source/_components/frontend.markdown +++ b/source/_components/frontend.markdown @@ -53,12 +53,10 @@ frontend: {% endconfiguration %} -## {% linkable_title Themes %} +## {% linkable_title Defining Themes %} Starting with version 0.49 you can define themes: -Example: - ```yaml # Example configuration.yaml entry frontend: @@ -71,6 +69,10 @@ frontend: The example above defined two themes named `happy` and `sad`. For each theme you can set values for CSS variables. For a partial list of variables used by the main frontend see [ha-style.js](https://github.com/home-assistant/home-assistant-polymer/blob/master/src/resources/ha-style.js). +Check our [community forums](https://community.home-assistant.io/c/projects/themes) to find themes to use. + +### {% linkable_title Theme automation %} + There are 2 themes-related services: - `frontend.reload_themes`: reloads theme configuration from your `configuration.yaml` file.