mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update theme docs
This commit is contained in:
parent
47accac6d7
commit
355d351a34
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user