I created document color named "myBlack" and apply it to some layers.
then, I want to find layers that its fill color is "myBlack".
Is it possible to access the name of color in layer?
or are there other ways to apply unique key to the color?
There is currently no way to do this.
The closest you can get is to get the color value from the layer and look it up in the document colors.
But this approach does not work if you have two identical colors with different names.
sclausendk Thank you for the reply😊
I wanted to create plugin that can change fill and stroke color up to light/dark mode for designers. It sounds like i have to wait for sketch update supporting color key feature(or official function supporting light/dark mode change). 😂
CKDJ I already built that plugin, but with the limitation that you cannot use the same colors twice. Because of the problem you mentioned 🙂 https://designersstash.com/color-system-plugin/