Apply a shared style
figma_apply_styleApply a paint, text, or effect style by ID to a node, ensuring the layer follows the style for true matching instead of copying hex codes.
Instructions
Applies a paint, text or effect style from this file by id, from figma_list_library. The right way to make something "match": the layer follows the style afterwards, where a copied hex code does not.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Figma node id, like "21:10314". Omit to use whatever is selected on the canvas. | |
| styleId | Yes | From figma_list_library. |