vertical-stack-in-card icon indicating copy to clipboard operation
vertical-stack-in-card copied to clipboard

[Issue] When using RBG with Alpha (transparency) channel get added, appearing darker

Open Maxi531 opened this issue 2 years ago • 1 comments

Screenshot 2022-07-18 000138

As you can see here, when using an alpha channel in background colors they get added together, making the whole card way darker, than it is supposed to be.

Color it is supposed to be: rgba(10, 10, 10, 0.4) I suspect the color now is (10, 10, 10, 0.8), but I'm not certain Interestingly, the header gets treated differently, and is therefore not impacted

Maxi531 avatar Jul 17 '22 22:07 Maxi531

[FIX] Use Card Mod to make the background of all cards clear, only leaving the title as is. Do this by adding card_mod: style: | ha-card { background: rgba(10, 10, 10, 0); }

Maxi531 avatar Jul 18 '22 08:07 Maxi531

Please use the styles option as mentioned above.

ofekashery avatar Oct 29 '22 15:10 ofekashery