Villhellm / lovelace-clock-card

Basic analog clock for Lovelace
49 stars 12 forks source link

[Q] Clock card theme/colors #11

Closed leikoilja closed 4 years ago

leikoilja commented 4 years ago

Hey, @Villhellm. Thanks for the awesome clock card!

I was wondering what is the way to apply code colors/theme for the card? Mine currently looks like that by default. While the one if README you have looks so much better. image

Thanks

Villhellm commented 4 years ago

The colors are based on your currently selected theme. The background is --primary-background-color, the numbers are --primary-text-color, and the hands/border are --accent-color.

Though I have been contemplating making these manually configurable.

leikoilja commented 4 years ago

@Villhellm, thanks for the info. I would recommend introducing manual configuration and as a default falling on currently selected user's theme. Thing is that in my case for example, I use HACS frontend themes which changes the appearance independently of HA user theme. Also, in my particular use case your card perfectly fits tablet wall-mounted tablet dashboard. And over there it would be great just to configure colors manually and have no magic :smile: Thanks a lot

Villhellm commented 4 years ago

Custom theme options are now available in v0.4.0. Thanks for the suggestion!

leikoilja commented 4 years ago

Awesome! Thank you, @Villhellm for such a quick response