I’ve been starting a colour system. Since I was refining it while mocking up screens it made sense to have the variable locally. I intend to make themes as variations of this system. Is there a way to create a new library and replace local variable with the ones from the library? Obviously there is the Find and Replace Color command but it is maddenly slow to replace 70+ tints.
Hey @Gael
If you Library contains the same Color Variables (as in name and organisation) you could use the Edit > Replace Library feature and only replace the Color Variables within your document with those from the new Library.
Thank Raul,
Replace Library was greyed because I have no Library yet. But you did put me on the right track. Replace Selected Components was what I needed
Here is what I did if somebody else needs to move document colour variables to a new Library document (or other components probably).
- Duplicate your original file and save it
- Make it a library (Menu File > Add as library)
- Make the library available in settings (needs to be checked)
- Open your original file
- Go to the component view and then to the colour tabs
- Select all colour variables
- Menu Edit > Replace Selected Components
- Choose the Library you added previously
- Profits! … I mean you should see the variables disappear as they are replaced by the ones in the Library
1 Like