Add locking option to styles or more convient way of restoring it

I swear, if this isn’t added soon, I lose my mind and quit Figma altogether.

When working on a file, local styles can always be selected on accident when no frame is active. I don’t know what exactly I did, but apparently I manged multiple times to select it on accident and press the delete key while intending to delete something else. So please add a feature to lock styles or add a pop up warning about deleting them; that’s basic error management in UX :face_with_symbols_over_mouth:.

Also when deleting it, it would be nice to be able to restore them more easily; maybe instead of removing a connection completly, add a label which signifies that the link is missing like with fonts. Then you can just copy in your styles again and it at least they reconnect automatically.

PS; before creating this topic, I found some posting which suggest that styles disappear randomly from time to time; so maybe I assumed too soon that it was my error; but still, these improvements should be added. And please fix this curcial app breaking bug, if it is one.

Hey @Lukas_Bo - hearing you on the frustration. I started a conversation about this with our engineering team to get some context, and here’s what I gathered from it:

  • This is not considered a bug at this time – however, it is acknowledged as a pain point that needs work.
  • New discussions on how to improve this has been started, with one being better ways to make sure deleting a style is intentional.

While I don’t have other specifics I can share, I did want to relay that it’s been surfaced to the teams that work on design systems experiences.

You can keep tabs on our release page – as these things get addressed, you’ll see them noted there.

1 Like

Thank you for your time and effort; I appreciate it!

I think I found another reason why it could have happened. I needed a duplicate of a group of text styles. The reason is that I wanted to have the same text styles, but in strikethrough. In order to achieve this goal, I needed to cut the styles and paste them into another file to rename them and then paste them back into the original file. After cutting, I immediately pressed “Ctrl + Z,” and the text styles reappeared, but maybe it didn’t fully work and disappeared later regardless.