Replies: 1 comment
-
Sure, you can do that. You can just create these tokens that reference on another. The UX isn't the best for that right now, you could use the searchbar to filter for tokens that you want to use right now, but it could be improved. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If yes: How should you do this?
If not: Is it planned to support component tokens?
Here is an example hierarchy:
global
-> (alias
->...
->alias
) ->component
Concrete example:
color.error
->input.icon.error.color
color.primary
->form.interaction.color
->button.primary.background-color
color.primary.light
->form.interaction.hover.color
->button.primary.hover.background-color
Right now i only see it managable for
global
andalias
tokens.Beta Was this translation helpful? Give feedback.
All reactions