figma_foundations
Create or update Design System foundations in the open Figma file: variables, text, colour, effect and grid styles, idempotent by name.
Instructions
Create or update Design System foundations in the open file: a variable collection (COLOR and FLOAT variables, e.g. "color/brand/deep-teal": "#176B66", "radius/media": 20), text styles, colour styles (a hex, a gradient, or bound to a colour variable so the style follows the token), effect styles (shadows, layer/background blur) and grid styles (columns, rows, square grid). Idempotent by name. Rescan the DS afterwards.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| colors | No | #RRGGBB or #RRGGBBAA | |
| numbers | No | ||
| collection | No | Tokens | |
| gridStyles | No | ||
| textStyles | No | ||
| paintStyles | No | ||
| effectStyles | No |