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.36k stars 196 forks source link

Reference Shadow tokens #565

Closed daniel-casado closed 2 years ago

daniel-casado commented 2 years ago

Is your feature request related to a problem? Please describe. My team is following the token heirarchy described by Adobe Spectrum. Using references to other tokens as values is great to create these hierarchies, except that we can't reference a shadow token to create an alias or component level token

Describe the solution you'd like For it be possible for a shadow token to get its entire value (blur, offset, color and mutilple shadows) from another shadow token.

Describe alternatives you've considered Another way to put it it would be to dissasemble a shadow token the same way the typography token gets dissasemled, but that wouldn't make a lot of sense in general.

six7 commented 2 years ago

Definitely needed, will hopefully be able to tackle this soon. 🙏

six7 commented 2 years ago

We just merged this into the next release branch, should be released in the next two weeks or so.