set_text_style
Set font family, size, style, spacing, alignment, and text case on a Figma text node.
Instructions
Set any combination of text styles on a node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Target text node ID | |
| nodeName | Yes | Name of the node (for verification) | |
| fontFamily | No | Font family (e.g., "Inter", "Roboto") | |
| fontStyle | No | Font style including weight (e.g., "Regular", "Bold", "Light Italic") | |
| fontSize | No | Font size in pixels | |
| letterSpacing | No | Letter spacing | |
| lineHeight | No | Line height | |
| paragraphSpacing | No | Space between paragraphs in pixels | |
| textCase | No | Text casing | |
| textDecoration | No | Text decoration | |
| textAlignHorizontal | No | Horizontal text alignment | |
| textAlignVertical | No | Vertical text alignment |