Skip to main content
Solved

Swapping a library doesn't swap the library's variables


0xtutti

I structure my projects the following way:
1 tokens file for the colour styles, the typography and the variable primitives
1 design system file with semantic variables and components
several design files depending on the needs.

When creating a new project I used to duplicate my latest DS and tokens file and relinking them using the library swap property.
I’ve recently started to go in depth with variables which are a game changer in my opinion.
Unfortunately, I realised today that when swapping a library, although the styles are swapped, the variables are not.
Is this a bug? a feature? or am I doing something wrong?

Best answer by dvaliao

Hey @0xtutti, thanks for reaching out!

We’ve merged your topic with a similar existing one in the community. This is currently a limitation but there are workarounds and plugins in the community that may help.

View original
This topic has been closed for comments

2 replies

dvaliao
Figmate
  • Community Support
  • 4654 replies
  • March 7, 2024

A post was merged into an existing topic: Figma variables, and multiple swappable styling libraries


dvaliao
Figmate
  • Community Support
  • 4654 replies
  • Answer
  • March 7, 2024

Hey @0xtutti, thanks for reaching out!

We’ve merged your topic with a similar existing one in the community. This is currently a limitation but there are workarounds and plugins in the community that may help.


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