create_text_style
Create text styles in Figma with defined font families, sizes, weights, and spacing values to standardize typography and maintain consistency across design systems.
Instructions
Create a new local text style.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| description | No | Optional style description | |
| fontFamily | No | Font family e.g. Inter (default Inter) | |
| fontSize | No | Font size in pixels (default 16) | |
| fontStyle | No | Font style e.g. Regular, Bold (default Regular) | |
| letterSpacingUnit | No | Letter spacing unit: PIXELS or PERCENT (default PIXELS) | |
| letterSpacingValue | No | Letter spacing value | |
| lineHeightUnit | No | Line height unit: PIXELS or PERCENT (default PIXELS) | |
| lineHeightValue | No | Line height value | |
| name | Yes | Style name e.g. 'Heading/H1' | |
| textDecoration | No | NONE, UNDERLINE, or STRIKETHROUGH |