tokens-studio / figma-plugin

Official repository of the plugin 'Tokens Studio for Figma' (Figma Tokens)
https://www.figma.com/community/plugin/843461159747178978
MIT License
1.33k stars 191 forks source link

Unable to duplicate a token with the same name inside a set #2962

Closed cuserox closed 1 week ago

cuserox commented 1 week ago

Describe the bug Tokens nested in groups are unable to have the same name, even if creating a subgroup. Original thread📝

Probably related to the deduplication of tokens work: https://github.com/tokens-studio/figma-plugin/issues/2779

To Reproduce Steps to reproduce the behavior:

  1. Duplicate a token (i.e. base-color)
  2. Name this token something containing what it references (i.e. base-color.reference-test)
  3. Click create token
  4. Token is not on the list but was actually created

Expected behavior The token should be on the list.