Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 108705

Power-flow-card-plus change color dependent on darkmode

$
0
0

I want to change the color dependent on darkmode.
That is the standard and then always set.

type: custom:power-flow-card-plus
style_card_content: |
  background: lightgrey
entities:

I was trying, but that is not working:

type: custom:power-flow-card-plus
style_card_content: |
        [data-theme="dark"] {background: rgb(100, 200, 100)}
        [data-theme="light"] {background: rgb(200, 400, 200)}  
entities:

How can I change the background dependent on darkmode?
or Can I change that it stays with day mode?
thanks for hep!

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 108705

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>