The community members discussed the idea of adding a feature to select and convert multiple tokens into a single token with all their attributes. Some suggested that this could be addressed in the tokens manager, while others proposed a copy-paste solution as a possible workaround. The community members also discussed how dynamic components and variables could potentially solve this use case by allowing them to attach multiple tokens to a component and maintain consistency across instances. Overall, the community members found the copy-paste solution and the dynamic components/variables approach to be promising ideas, though the copy-paste feature does not currently exist.
When adjusting the "local" token style, I've often converted it to a token.
Would it be possible to add a feature where you could select multiple tokens and then convert them into a token?
For example, in the attached image, I'd want to select each of the 4 manually added tokens and convert them into a new single token with all their attributes.
Yeah, that's what I meant. In the token manager, that would be cool.
The copy/paste approach you mentioned, do you mean that this is a possible solution down the road? I looked and am unaware of a way to copy paste at the moment so just trying to clarify what you meant.
I think dynamic components will solve this use case too...
Or variables for that matter.
Lets say I want to create a card...
Dynamic components will let me attach 10 different tokens to it and make it easy to maintain 50 different card instances. Edit the card component and it syndicates everywhere. Meaning you can add or remove tokens and it'll sync to all components.
Or with variables you can call the token Card and attach your flex gap variable, color variable, etc but only have to maintain the one token making it easy to keep things in sync. And the styles aren't one off because they are actually variables making it consistent.
Guessing your use case here, but this is very common and right now you are either left with attaching a bunch of styles to Card (not consistent or maintainable) or choosing to add 5+ tokens (makes it hard to keep every Card instance in sync)