# The icon component in 8.1 doesn't accept css3 fill property in style class

**URL:** <https://forum.inductiveautomation.com/t/the-icon-component-in-8-1-doesnt-accept-css3-fill-property-in-style-class/45646>\
**Category:** Ignition Early Access\
**Created:** [April 15, 2021, 4:22pm UTC](https://forum.inductiveautomation.com/t/the-icon-component-in-8-1-doesnt-accept-css3-fill-property-in-style-class/45646 "2021-04-15T16:22:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![swolnisty](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@swolnisty](https://forum.inductiveautomation.com/u/swolnisty)\
**Post date:** [April 15, 2021, 4:29pm UTC](https://forum.inductiveautomation.com/t/the-icon-component-in-8-1-doesnt-accept-css3-fill-property-in-style-class/45646/2 "2021-04-15T16:29:57Z")

</div>

The icons’ fill color seems to be based on the text color attribute of a style class, if I remember correctly. I’m not sure if this is intentional or a bug, but it’s weird either way.

---

_[View the full topic](https://forum.inductiveautomation.com/t/the-icon-component-in-8-1-doesnt-accept-css3-fill-property-in-style-class/45646)._
