Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to add wallpaper background to this theme? #75

Open
Shredder5262 opened this issue Apr 19, 2024 · 2 comments
Open

How to add wallpaper background to this theme? #75

Shredder5262 opened this issue Apr 19, 2024 · 2 comments

Comments

@Shredder5262
Copy link

I want to add my own background instead of it being just plain black....how can i do that?

@Null-Mind
Copy link

in the themes/metro/metro.yaml file

remove

lovelace-background: var(--primary-background-color)

and this way you can use any background you like

@madjetey
Copy link

madjetey commented Nov 7, 2024

How about light / dark mode backgrounds? Tried replacing lovelace-background: var(--primary-background-color) with lovelace-background: var(--background-image) and put background-image: "center / cover no-repeat fixed url('/local/Metro_night.svg')" under every light/dark mode entry I could fine (common, blue, red, etc). It's not working as hoped

UPDATE:
This worked. It wasn't rendering because I didn't restart HA after making the changes. Wrongly thought cache clearing would be enough. Now got animated SVGs as backgrounds for light & dark modes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants