sketch-hq / color-variables-migrator

A Plugin to migrate colors, Layer and Text Styles to use the new Color Variables feature in Sketch 69
15 stars 1 forks source link

Link Layer Styles to the Color Variables from a Library #1

Open bomberstudios opened 4 years ago

jujemido commented 4 years ago

Hello!

I'll explain the problem step by step using Abstract:

  1. Sketch has updated to colour variables, so now in version 69 the colour symbols are replaced to variables
  2. We have a master project of the design system with a Color file, linked as a library to other projects
  3. We have updated the colour symbols to variables in the master, and using an official Sketch tool (https://www.sketch.com/extensions/plugins/color-variables-migrator/) in theory recognizes the colours of all layers and changes them to variables
  4. By testing the design system's master file, it worked perfectly
  5. We merge the colour file to Master
  6. In another project, with this linked library (we already tried unlinking and linking) and the colour variables from the Colour file, we tried the plugin and, unfortunately, it doesn't connect the colours with the variables.
  7. We have had to go back to the versions and files since we see that the use of the Plugin is not compatible with the libraries shared from other files.

With this update, the only way to solve this is to link the colours one by one, being this a horrible solution and with a huge time investment.

Do you know anything about it? Thank you!