Skip to main content

Hi there,


So I have a set of local paint styles with me and I want to apply them to a certain node. How can I do it?


For eg, Applying local1 style to a rectangle1 in the selected artboard.

rectangle.fillStyleId = localStyle.id


figma.com

Thanks again! This worked…