You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/frontend.markdown
+9-4Lines changed: 9 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,14 @@ This offers the official frontend to control Home Assistant.
18
18
frontend:
19
19
```
20
20
21
-
#### Themes
21
+
### {% linkable_title Themes %}
22
+
22
23
Starting with version 0.49 you can define themes:
23
24
24
25
Example:
26
+
25
27
```yaml
28
+
# Example configuration.yaml entry
26
29
frontend:
27
30
themes:
28
31
happy:
@@ -31,13 +34,15 @@ frontend:
31
34
primary-color: blue
32
35
```
33
36
34
-
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.html](https://github.com/home-assistant/home-assistant-polymer/blob/master/src/resources/ha-style.html)
37
+
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.html](https://github.com/home-assistant/home-assistant-polymer/blob/master/src/resources/ha-style.html).
35
38
36
39
There are 2 themes-related services:
37
-
- `frontend.reload_themes`- reloads theme configuration from yaml.
0 commit comments