Skip to main content

The scales have been breaking for the last few days, and it has spread across all the projects.

First, I have two files: one for designed screens and one for the design system.

All icons in the DS file are 24x24. When I want to use one in a button where the icon is 16x16, I scale it down to 16.

I've been doing this for years with no problem. But in the last few days, all these scaled-down icons are resetting in instance components. meaning, in the other file, not in the design system file. Everything looks fine in the DS file.
The only solution I found is to reset the icon size in DS and scale it down again. After publishing the DS, it fixes in the other file. Any idea why this is happening recently? 

Thanks!

The main component in the DS file​​​​​
The instance in the other file

 

I've been seeing the same problem for two weeks now, really annoying. It happens when I use components from a library (which is fine) and then consume these components to create mockups. The temporary solution I found is to temporarily change the icon instance and put it back to the correct one... it returns to its normal size.
It also happens when I change the variant in a component.
My colleagues who use the same library don't experience the problem, and my application is up to date.