The string literal "GRID" representing the style type. Always check the
type before reading other properties.
LayoutGrid to replace the
layoutGrids property with.
Style (common properties)
The unique identifier of the style in the document the plugin is executing from. You can assign this value to
textStyleId, etc. to make the node properties reflect that of the style node.
The name of the style node. Note that setting this also sets "autoRename" to false on
The description of the style, used as an annotation when styles are published to the team library.
⚠️ There is a currently a bug in Figma where the description field will appear to be missing or not up to date. Until this is fixed, the workaround is to re-publish styles for which the description is missing.
Whether this style is a remote style that doesn't live in the file (i.e. is from the team library). Remote styles are read-only: attempts to change their properties will throw.
The key to use with
Deletes a local style.