figma-plugin
figma-plugin copied to clipboard
Ability To Edit Tokens To Add Nested Levels
Describe the bug
Currently when you create a token like: button.primary.container and then want to edit it to add an additional level button.primary.container.default. The plugin throws the following error message "Tokens can't share name with a group".
To Reproduce Steps to reproduce the behavior:
- Create a token named
button.primary.container - After creating, edit the token
- Add a '.' to change it to
button.primary.container.default - See error
Expected behavior Users should just be able to add additional levels if required. The current work around is to create the token from scratch.
Screenshots or Screencasts
Figma File Test File
Added to featurebase roadmap item 💚 Naming conflict error enhancements - QOL