siemens / ix

Siemens Industrial Experience is a design system for designers and developers, to consistently create the perfect digital experience for industrial software products.
https://ix.siemens.io/
MIT License
174 stars 62 forks source link

<ix-icon> color property is not working #1323

Closed csanadEvo closed 2 weeks ago

csanadEvo commented 2 weeks ago

Prerequisites

What happened?

The color property of the ix-icon component (and iconColor / color property of the ix-icon-button component) is not working. :(

What type of frontend framework are you seeing the problem on?

Angular

Which version of iX do you use?

v2.1.0

Code to produce this issue.

<ix-icon name="info" color="'#fff'"></ix-icon>
<ix-icon-button icon="cycle" iconColor="#fff" ghost></ix-icon-button>
danielleroux commented 2 weeks ago

Only predefined colours are working https://github.com/siemens/ix/issues/1315#issuecomment-2160996505