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 🤬.
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.