Skip to main content
amantiwari
New Participant
Oct 15, 2024 8:54 AM UTC
Solved

Do variables have an ID like fillStyleId?

Hi guys!

I am working on a plugin right now that checks our icons for the fills. Using the Node Inspector plugin, I can easily see that when using styles, there’s a fillStyleId property. But couldn’t find the same for variables.

Can someone help me with on how can I find them if they exist?

This topic has been closed for replies.
tank666
tank666Solution
Oct 15, 2024 7:33 PM UTC

Use the boundVariables property on nodes, fills and/or paint styles.

figma.com
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank

1 reply

tank666
tank666Solution
Oct 15, 2024 7:33 PM UTC

Use the boundVariables property on nodes, fills and/or paint styles.

figma.com
UX/UI designer. Figma expert. Creator and developer of plugins and widgets for Figma and FigJam. Check out my resources in Figma Community: figma.com/@tank