SketchAPI icon indicating copy to clipboard operation
SketchAPI copied to clipboard

Find and Replace Color

Open KevinGutowski opened this issue 4 years ago • 1 comments

https://sketchplugins.com/d/1460-find-and-replace-color-from-plugin

Would be pretty helpful to not have to implement our own find and replace algo and just use the one in sketch. Aby shared some helpful code in the link as well.

KevinGutowski avatar Jul 30 '19 16:07 KevinGutowski

I suppose this could potentially be accomplished via Mathieu’s find and replace thing he added a little while ago. Though, off the top of my head I don’t think you can .find some color that matches against styles.fills.color and styles.borders.color and optionally ignores opacities.

KevinGutowski avatar Jul 31 '19 08:07 KevinGutowski