Skip to main content

Multi selection to hide variable when publishing


XavierV

Hello,
I have a lot of variables, and when it comes to publish my library I don’t want all my variables to be published.
Today the only option is to open one by one the variable’s settings panel and check “hide when publishing”. When you have 3 variables it’s ok, but for 50, 100 or more it’s a monstruous waste of time.
For the record I had the exact same problems with Style when publishing.

Cheers.

Xavier

This topic has been closed for comments

6 replies

XavierV
  • Author
  • 26 replies
  • August 24, 2023

I’m may be the only one with Core tokens I don’t want to share ? 😃


Fred_Tinsel
  • Active Member
  • 110 replies
  • September 2, 2023

I understand 😀
For the moment the variable’s UI is a pain…
Copy/paste ?
Enable/disable?
Move, export…


Julia57
  • Active Member
  • 41 replies
  • September 29, 2023

@XavierV You can move your core tokens into a separate variable collection, then simply uncheck the whole collection when u publish. You can also hide from publishing by naming them with a ‘.’ prefix, similar to components 😃


XavierV
  • Author
  • 26 replies
  • October 3, 2023

Ok tks Julia, I will try to hide from publishing an entire collection. I cannot renamed my variables because they are tokens synced with Token Studio.


Bill_McCrery

Figured out if you shift select all the variables you want to hide, you can right click and choose “Edit variables” and hide all from publishing at once.


  • 0 replies
  • January 7, 2024

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