This is my first ever custom theme for Home Assistant.
Thanks to: https://github.com/JOHLC/transparentblue for his dark blue theme, where this theme is based on.
I am using the frontend extion animated backgrounds. Thats the reason that I have removed a background from this theme.
If you want one, please have a look below under Changing the background image. Maybe I will release a darkgray version with a background implemented.
As I am using this for my personal interest. Be aware, that I will only be giving limited support and wont accept all pull requests.
If you prefer the Gray and Blue buttons (second screenshots below), change the code as below:
#Switches
switch-checked-button-color: '' #Switch On
switch-unchecked-button-color: 'var(--slightly-darker-text)' #Switch Off
switch-checked-track-color: '#009FFF' #Switch background when On
switch-unchecked-track-color: '#767682' #Switch background when Off
Works only for transparentgray.yaml
- Open HACS
- Click the tree dots in the upper right
- Click custom repositories
- Add the URL of this github repo.
- Go to frontend
- Search for transparent dark gray
- Click Install
You should now be able to select "transparentgray-LAB" in Home Assistant. Maybe a restart of HA is required.
"LAB" stands for "Lovelace Animated Background".
- Download the transparentgray*.yaml file from this github repo. - Only one, not all!
- Upload the downloaded file to your "themes" directory
- Add the resource reference to your lovelace config
You should now be able to select this theme in Home Assistant
Have a look here