Skip to main content
Question

Creating local tokens from library variables

  • April 30, 2024
  • 4 replies
  • 349 views

Vero5
  • New Participant
  • 9 replies

I’m managing a local design system for one workspace at my company, which is based on a global library managed by another team. My design system has some colours that are not part of the global library, so I’ve created the variables in our local library and am in the process of assigning tokens. However, I would like to be able to create tokens that refer to colour variables from the global library

Hypothetical example: Colour “sunny” in the global design system is mapped to “background-accent” token. In my local DS, I’d like to create a token called “notification” and have it refer to “sunny” so that if it changes, it’ll be reflected in my DS as well.

The global library (and many others) is enabled for the local DS I’m working on, and I can access its colours and text styles in the usual ways except when assigning tokens. It seems like I should be able to, according to the screenshot below, but no other libraries appear in the dropdown. Is this a bug or am I doing something wrong?

4 replies

Vero5
  • Author
  • New Participant
  • 9 replies
  • April 30, 2024

image
Adding another screenshot


Jeff_Waterfall

+1 - I also need to do the same. It’s odd that there’s an “All Libraries” select, but you can’t select a library…


Vero5
  • Author
  • New Participant
  • 9 replies
  • May 3, 2024

Hey, I just found out in my case it’s because the global library isn’t using tokens yet for colours! They’re still on styles until Figma releases better multi-brand support. Maybe check if that’s the case with you?


Jeff_Waterfall

Thanks for the follow up. I will check with the other design team


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings