decompil3d / lovelace-hourly-weather

Hourly weather card for Home Assistant. Visualize upcoming weather conditions as a colored horizontal bar.
MIT License
293 stars 31 forks source link

change "color-clear-night" and other divs bgcolor #607

Closed djsomi closed 8 months ago

djsomi commented 8 months ago

Hi All,

I would like to change --color-clear-night default color within the card style. I can't achieve this, can someone help how to do this? I assuming this should work but not:

card_mod: style: | .clear-night { background-color: #f00 !important }

I can hardcore into in JS, but its not so elegant solution.

Many thanks, Zoltan

decompil3d commented 8 months ago

Hi Zoltan, you should be able to use the colors option in yaml config to achieve this. See the docs here: https://github.com/decompil3d/lovelace-hourly-weather#color-options

djsomi commented 8 months ago

Thanks, sorry, I overthinked it!