Can I reference variable css in Mushroom Template Card 'icon_color'?

in my theme yaml, I have some calls to some variable colors.

  # General Colors Light
  wa-teal: var(--wa-primary)
  wa-green: '#25d366'

and in Mushroom Template card the color for the icon is set at icon_color: blue. Is there a way to reference the variable in the theme yaml in that icon_color attribute? I don’t want a hard coded color, but the primary color of my theme if I switch themes.

2 Likes

I’m interested as well, i used this template:

{% if is_state('climate.airco', 'heat') %}
  color: var(--state-climate-heat-color)
{% endif %}

But it did not work

Did you found any solution?

I’m interested too

Same issue here, would love to know if anyone ever finds out!

I’d love an answer to this as well