Replies: 1 comment 2 replies
-
You mean creating semantic design tokens? The way I usually did it is to rename the applied styles to be semantic ones, then create those raw values again (e.g. gray/700 becomes text-muted) and then create a reference from gray700 to text-muted). What were you hoping the plugin could help you with? Automatically mapping these to new semantic tokens? I'm afraid thats out of scope for this plugin, as it would require some sort of clever ai solution there. To add on the above way: i found this to be the easiest way as you dont lose applied styles that way. Basically you never want to have option tokens applied anywhere, they should only be values for your semantic ones. And with the above way mentioned above that's a pretty fast process. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there,
I have a design system that has a bunch of colors all applied to about 10K components.
I'm able to import the style into tokens, but how do I make colors change? Currently, I have to go one by one. Is that because the tokens can't be cross-referenced since I didn't create it from scratch from global tokens? Is there a way to connect them to avoid editing each color 900 to 25 one by one?
Really appreciate any feedback.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions