thomasloven / lovelace-card-mod

🔹 Add CSS styles to (almost) any lovelace card
MIT License
1.04k stars 169 forks source link

Entity icon colors stopped working #339

Open alanmilinovic opened 6 months ago

alanmilinovic commented 6 months ago

Hi, I downloaded the latest version 3.4.1 and changed old Syntax to new and my entity icon colors are not working any longer.

This is my code:

         - entity: sensor.abfall_biotonne
           type: custom:template-entity-row
           card_mode:
             style: |
               :host {
                 --card-mod-icon-color: saddlebrown;
                }

Any idea?

Before latest version update I used this code and it worked perfectly:

              style: |
                :host {
                  --paper-item-icon-color: saddlebrown;
                }
ildar170975 commented 6 months ago

card_mode:

card_mod

--card-mod-icon-color

Duplicate of https://github.com/thomasloven/lovelace-card-mod/issues/335 and it's clones.