Best practise customisable component library with tokens #278
Replies: 2 comments 1 reply
-
I usually recommend to
The library itself would have all styles created based on tokens. It would also contain all components that have tokens applied. Users could then paste a new JSON that ideally matches the schema of the original library, hit Update and get a new look and feel. Currently JSON pasting is only possible theme by theme or via the sync options. Users currently would need one giant JSON containing all tokens, but I think what we'd need is a manual import of one json file containing multiple token sets to retain the split between option and decision level groups. |
Beta Was this translation helpful? Give feedback.
-
Hi @six7
Is there an advantage to this two step approach compared with assigning all tokens using the plugin? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey, I want to achieve the following:
However, if possible I would still like to use figma styles for colors and type, etc.
Is there a best practise for this scenario using figma tokens?
To customize tokens users would load a custom json into the plugin.
Beta Was this translation helpful? Give feedback.
All reactions