You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
EuiIcon allows coloring icons via any valid color string or by one of our named color strings that match the branding colors. The app style icons have 2 colors. One that is the inherited fill and the other which uses the class .euiIcon__fillSecondary to fill with a different color.
Our docs specify that passing the color prop will override both the basic fill and the secondary fill.
This works properly when the value of color that is passed is one of our named colors like primary or text:
However, it doesn't properly work when passing a custom color string like a hex value or red:
The text was updated successfully, but these errors were encountered:
EuiIcon allows coloring icons via any valid color string or by one of our named color strings that match the branding colors. The app style icons have 2 colors. One that is the inherited fill and the other which uses the class
.euiIcon__fillSecondary
to fill with a different color.Our docs specify that passing the
color
prop will override both the basic fill and the secondary fill.This works properly when the value of
color
that is passed is one of our named colors likeprimary
ortext
:However, it doesn't properly work when passing a custom color string like a hex value or
red
:The text was updated successfully, but these errors were encountered: