Skip to content

How to customize per-project tokens #1972

Discussion options

You must be logged in to vote

Hello,

The result you are getting in the prototyping phase is not an error; it is indeed how Tokens Studio operates.

Even though you are changing and applying hover tokens in the consumer file, you are not effectively changing the hover state's style, as the button's hover state resides in the library's main file.

There are two ways to resolve this:

  1. The Ideal Way: Make the desired color changes directly in the main file, publish these changes on Figma, and, if you have set up a GitHub for Tokens, push these changes there. Then, pull the changes into the consumer file.
  2. If you prefer not to make changes to the main file, a workaround would be: Copy the button component as is to the consume…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by davide-granello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants