Skip to main content

Sync or add local variables as part of library


Ping

I have been experimenting with creating and utilising local variables.

I would like to be able to incorporate local variables into the library (central file where we maintain the styles) to ensure consistent terminology between design and development.

The ability to share collections among multiple files would greatly enhance the consistency across various applications or features.

PS. it would be great if we can export colours in collections.

This topic has been closed for comments

4 replies

Pavel_Kiselev

Not sure if I got you right, but…

Variables are publishable, I was able to make a dedicated team library with tokens only and reuse it across multiple other files, including master UI kit.


Ping
  • Author
  • 1 reply
  • July 3, 2023

@Pavel_Kiselev Hi Pavel, i am talking about the local variables.

I do have a similar setup like you mentioned, but i thought the way how local variables are designed would has better uses in term of bridging design and development than the variables.


fernandolins_cs

You can set local variables by either

  1. adding “_” to the start of their name (or their group’s name)
  2. or toggling the “Hide from publishing” checkbox in the variables settings

Then they will not be published with the library and will only be accessible to people who can edit the file and the components in that file that use those variables.


  • 0 replies
  • October 1, 2023

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.


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