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
So the icon should be critical (red). But you can see in the styles that its fill colour is determined by the .Polaris-ActionList__Prefix svg rule, which forces the fill to be the default icon colour.
Steps to reproduce
Using an <ActionList />, make one of the list items use an <Icon /> with a tone other than default as its prefix.
Are you using React components?
Yes
Polaris version number
12.22.1
Browser
Chrome
Device
MacOS
The text was updated successfully, but these errors were encountered:
Summary
In the screenshot above, the "Disconnect" icon corresponds to this entry in the
items
array passed to ActionList:So the icon should be
critical
(red). But you can see in the styles that its fill colour is determined by the.Polaris-ActionList__Prefix svg
rule, which forces thefill
to be the default icon colour.Steps to reproduce
Using an
<ActionList />
, make one of the listitems
use an<Icon />
with atone
other than default as itsprefix
.Are you using React components?
Yes
Polaris version number
12.22.1
Browser
Chrome
Device
MacOS
The text was updated successfully, but these errors were encountered: