DBuit / Homekit-panel-card

Homekit panel card for home assistant
MIT License
304 stars 54 forks source link

Since 0.5.8.4 --tile-background doesn't seem to work anymore #81

Closed spudje closed 3 years ago

spudje commented 3 years ago

After updating to 0.5.8.4, any changes made to --tile-background (and maybe other styles) don't have any effect :(

image

DBuit commented 3 years ago

Hi @spudje,

That is strange it is working for me in the new version.. Have you tried reinstalling the card? Maybe restart Home assistant and clear browser cache?

spudje commented 3 years ago

No sorry, it isn't working. Tried multiple browsers, multiple HASS themes, HASS restart, all the same :(

wtrbuit commented 3 years ago

@spudje is this still an issue for you? Looking at you screenshot it almost looks like you are missing the closing bracket for the CSS: }

This should work for example:


style: |
    :host {
        --tile-background: rgba(255, 0, 0, .5);
        --tile-on-background: rgba(255, 0, 0, 1);
    }