Skip to content

AI-native design editor. Open-source Figma alternative.

799 B
Raw Blame
  • Scripts create, find, apply, edit, and remove paint, text, effect, and grid styles through Figma's plugin API: figma.createPaintStyle() and its siblings, getLocalPaintStylesAsync() and its siblings, getStyleByIdAsync(), and set…StyleIdAsync() on layers. A change to a style reaches every layer and text range that uses it, and removing one leaves them its values.
  • Scripts read and set more of Figma's plugin API: guides, horizontalPadding and verticalPadding, booleanOperation, a text's underline style, leadingTrim, and openTypeFeatures, component description, instances, and getInstancesAsync(), a set's defaultVariant and variantGroupProperties, removeOverrides(), setFillsAsync() and setStrokesAsync(), getTopLevelFrame(), and documentColorProfile.