I’ve put together the following dark-theme. I’m struggling to change the banner color (default: blue) and background (default: white) in Lovelace. Is it possible to change the colors of these objects?
I still have not been able to change the banner or background colors in Lovelace. I read somewhere that it may be because of the use of custom cards. I’m using the custom button-card heavily. Can anyone confirm?
That’s a shame. I’ve been able to add a background image, so you could change the colour by adding a picture of your preferred colour to the www folder in your config, then change the background code for each of your views, so it looks a bit like
background: center / cover no-repeat url("/local/your_background-file_name") fixed
Doesn’t help with changing the banner colour but maybe someone will respond.
Best of luck
Does anyone know how to color the bottom bar in the iOS app? I have done it before so I know it is possible. But I don’t know which attribute to use for that. And I have a nice setup now that I do not want to mess with it too much XD. Thanks in advance.
Thank you AJ, but could I ask where Is url(“/local/your_background-file_name”). I have HA with SAMBA enabled. There is a config directory, but where exactly is there a www or a local or anything directory that I can store the image?
Hi,
TBH, I thought www was already in config now but if not, you can create the www folder in the config folder and then add images, or any other file type to that folder. The way you reference that folder path is /local/filename.extension, where ‘local’ is the ‘www’ folder and you can guess the rest
Primary color is separate from the header bar.
Before the last update, changing the primary color to white changed the top bar white, where now it can be it’s own color.