Version 1, Update 83
Updates:
- Plugins can now view and set explicit modes for each variable collection on PageNodes.
- The BaseStyle type is now defined as a union of all possible derived style interfaces, such as PaintStyle and GridStyle. This allows you to use type narrowing on the the
typeproperty to go from an instance ofBaseStyleto a child style type. - Updated the color token values in the CSS Variables and Theming page for the “Figma Design: Light” and “Figma Design: Dark” modes to reflect recent formatting changes to token values injected into the plugin iframe (rgba() values were changed to #rrggbbaa format).
- Variables can now be bound to Effect and Layout Grid styles. On a selection, variables bound to a given style are populated in
boundVariableskeyed by style type (effectsorlayoutGrids).