Hey guys,
So I just started playing with Figma sites, and I’ve pulled in components from a component library I built in Figma design. The components are built with nested icon components that are setup flattened and named consistently so that I can create interactive prototypes. In Figma the buttons with nested icon buttons render properly maintaining the variable token colour assigned to them.
But when I bring these components across to Figma sites. The buttons work as expected, but the nested icons appear to ignore the colour style variable overrides applied to them.
In the editor I can change the variant states of the buttons and the icons appear and render as expected with the proper color rendering.
But as soon as I preview or publish the site. These same components no longer render the same.
Looking into the code it appears that the fill is being applied properly to the divs, but for some reason, the svg layer is ignoring this style override and reverting back to it’s original black hex value.
This is really frustrating as I had a whole bunch of design system work I was hoping to utilise Figma sites for but this bug means I won’t be able to test any of it with this product at the moment and will instead have to resort to simply using Figma design.




