figma_preload_styles
Preload design system text and color styles into the plugin cache at build start to avoid 8-second timeouts per style during import.
Instructions
Batch import DS text and color styles into the plugin cache. Call at build start with all style keys needed for the build. Cached styles resolve instantly during create_text/create_frame calls. Without preloading, each style import has an 8-second timeout.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keys | Yes | Array of DS style keys to preload. |