Figma Support Forum

Add local paintStyles to nodes

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 =

1 Like

Thanks again! This worked…