mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
Add background settings for Lovelace (#5682)
* Add background settings for Lovelace * Typo
This commit is contained in:
parent
b569e2ee80
commit
92a6133f86
@ -41,11 +41,15 @@ Create a new file `<config>/ui-lovelace.yaml` and add the following content:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
title: My Awesome Home
|
title: My Awesome Home
|
||||||
|
# Optional background for all views. Check https://developer.mozilla.org/en-US/docs/Web/CSS/background for more examples.
|
||||||
|
background: center / cover no-repeat url("/background.png") fixed
|
||||||
views:
|
views:
|
||||||
# View tab title.
|
# View tab title.
|
||||||
- title: Example
|
- title: Example
|
||||||
# Optional unique id for direct access /lovelace/${id}
|
# Optional unique id for direct access /lovelace/${id}
|
||||||
id: example
|
id: example
|
||||||
|
# Optional background (overwrites the global background).
|
||||||
|
background: radial-gradient(crimson, skyblue)
|
||||||
# Each view can have a different theme applied. Theme should be defined in the frontend.
|
# Each view can have a different theme applied. Theme should be defined in the frontend.
|
||||||
theme: dark-mode
|
theme: dark-mode
|
||||||
# The cards to show on this view.
|
# The cards to show on this view.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user