[BUG-837] Perspective: Icon colour via style not working in browser but working in Designer

v8.1.0rc1

I’m using unset to force the colour to fall back to the parent styling.

image

Designer:
image

Browser (Chrome and Chromium Edge):
image

Style class definition:
image

What does the element’s style cascade look like in browser dev tools?

image

if I remove the fill:unset; it works, the green comes through

Compared to the SVG that works:
image

1 Like

This is actually what we’re looking for. It looks like the Style Class is being overridden by the unset value. Even removing that value results in the icon taking on a value of currentColor, which is incorrect.
Screen Shot 2020-10-16 at 9.03.50AM

Update: It looks like I already opened a bug for this a long while ago, and we just haven’t gotten to it yet.

1 Like