Hello,
I am trying to create a map of all our paintStyleIds that we have stored in a Figma file. Purpose of doing that is to use semantic names of these paintStyles rather than their hex values.
I have a plugin which gets the values of all the current paint styles in a file (using figma.getLocalPaintStyles() ). When I look through the data that I get back from Figma,
I see that paintStyleId comes back truncated, something like this-
id: “S:407eaa3991e05cb0597e4da3fr728014dc7f0f3b56,”
The actual iid that works looks something like this-
id: “S:407eaa3991e05cb0597e4da3fr728014dc7f0f3b56, 3:78”
I am trying to. understand where does this colon separated value after the comma comes from? I don’t see this data anywhere in the data I get back from Figma.
Any help is much appreciated.