I'm looking to read/write color variables introduced in the Sketch 69 beta. Is this possible yet?
The API is not yet available, but it will be when the final version is out.
Here's a sneak preview https://sketchplugins.com/d/2185-is-there-any-way-to-set-a-tint-override-with-new-sketch-69-color-variables/2, and this is the PR we're using to work on it https://github.com/sketch-hq/SketchAPI/pull/799
ale Thank you! I was able to access the color variables using sketch-constructor in the mean time. Looking forward to the official API methods.
Will swatches be read-only via this API or am I reading the changes incorrectly?
No news on color variables API?
@ziyafenn Color Variables have been added. You can read a lil bit more about them here: https://developer.sketch.com/reference/api/#swatch
and I wrote up some extra info here: