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

Overriding border token doesn’t reflect the values in the token #2823

Closed NuthanHyma closed 1 month ago

NuthanHyma commented 1 month ago

Describe the bug When trying to override an existing border token with "input mode," the token does not accept the new values. As a result, we cannot update the border token as intended.

To Reproduce Steps to reproduce the behavior:

  1. Navigate to the plugin
  2. create a border token with respected values ex: border.sm
  3. now create another border token ex: border.card referring to the border.sm
  4. now edit the border.card, switch to input mode, and try to change the values and see the error.

Expected behavior When trying to override an existing border token with "input mode," the token should accept the new values. As a result, we should be able to update the border token as intended.

Screenshots or Screencasts

https://github.com/tokens-studio/figma-plugin/assets/140593995/bfa8c6a7-92b8-4361-a70f-6aa49dea5a81

Figma file (optional) Test File