question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow setting a mdi: icon for icon_color

See original GitHub issue

Currently, it’s possible to set a image for icon_color like icon_color: center/120% url('https://www.home-assistant.io/images/favicon-192x192.png').

It would be great if we could just use the mdi: or far:-icons that are available in Home Assistant.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
bokubcommented, May 25, 2021

Just to let you know, I have created a tool to convert a material design icon into pure CSS compatible with this card.

Hope it helps !

1reaction
bokubcommented, Nov 25, 2019

So what do you have in mind ?

  • A colored circle with a white icon in it ?
  • Or just a colored icon with no background ?
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change color icon in Materialize? - css - Stack Overflow
This Code will change the icon Color and if we want to give its background color just change it in custom.css .class {background-color:red;}....
Read more >
Change icon color on Condition - Home Assistant Community
I need the condition to change the icon color of binary_sensor.xxx! that is, where should the input.boolean.xxx_arm go? Forgive me, I'm new to ......
Read more >
color-helper Google @Google - Material Design Icons
Material Design Icons' growing icon collection allows designers and developers targeting various platforms to download icons in the format, color and size ...
Read more >
Material Icons Guide | Google Fonts
Using the icon font allows for easy styling of an icon in any color. ... To set a custom icon color, define a...
Read more >
color property - Icon class - widgets library - Dart API
Typically, a Material Design color will be used, as follows: link. assignment. Icon( Icons.widgets, color: Colors.blue.shade400, ) ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found