set_text_style
Apply font, size, weight, line height, letter spacing, alignment, decoration, and case formatting to a Figma text node.
Instructions
Set text style properties: font family, size, weight, line height, letter spacing, alignment, decoration, case.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | Text node ID | |
| fontSize | No | Font size in pixels | |
| textCase | No | ||
| fontStyle | No | Font style (e.g. 'Regular', 'Bold', 'Medium') | |
| fontFamily | No | Font family name (e.g. 'Inter') | |
| fontWeight | No | Font weight (100-900) | |
| lineHeight | No | Line height in pixels | |
| letterSpacing | No | Letter spacing in pixels | |
| textDecoration | No | ||
| textAlignVertical | No | ||
| textAlignHorizontal | No |