Hey there Figma folks!
I recently stumbled upon something that seems to be a bug (or a feature?) when updating library components inside design files.
I have updated the design system library to include variables in places where there were none set previously or where the color styles were used. One of the update included tokenizing the icon set with predefined variables for icon sizes (i.e. Medium = 24px
for width and height). Before the update, those same icons had also default size set to 24px
but as a custom input, not a variable.
After publishing those changes I got multiple reports from the community within my org that Figma ignored the overrides set previously by designers in their local files and forced the default new instance for all icons to have this Medium
variable set for width and height. I understand the reason behind this but it seems to me like a a different behavior than it normally is when you update instances of your components (no matter if these are instances of local components or instances of components coming from external libraries), when as long as the structure of a component’s layers remains the same, the styles and properties that have been changed/overriden in the past remain intact when updating to a newer version of the same component from a given library.
Could anyone share their experience if they had similar issues and how did you solve it? Or maybe it is really a bug that needs fixing?
I’m looking for a solution (either a workaround or else) as this problem basically seems to be a blocker for me to really transition our design system to utilize fully the variables and variable modes across multiple projects and files.
Thanks in advance for your input!