Can a variant include changing the color of an icon variant and text?

I have a component set of buttons where each state is a different variant with a different fill color and text color. The icon component in the button should also change color with each state but this doesn’t work in prototype mode.

Is this possible?

Update- Layers inside the component all need to have the same name in order for this idea to work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.