What does "Treat as source" do? #726
-
When I right-click a token set, there's a true/false option "Treat as source." Checking this changes the checkbox to an indeterminate state (I think?) but there's no other obvious change to the behavior or JSON. 🤔 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Treat as source makes this token set be used to resolve tokens but not use it to create any styles. Think of a Dark theme library file where you don't want your global tokens be created. Until we had that feature users had to manually remove those groups after creating. |
Beta Was this translation helpful? Give feedback.
-
Not sure if this was available at the time of the question, but this is now in the docs: https://docs.figmatokens.com/themes/token-sets#treat-as-source |
Beta Was this translation helpful? Give feedback.
Not sure if this was available at the time of the question, but this is now in the docs: https://docs.figmatokens.com/themes/token-sets#treat-as-source