create_grid_style
Create reusable layout-grid styles for aligning content in Figma. Define GRID, ROWS, or COLUMNS patterns with counts, gutters, and alignment, then apply them to frames via apply_style_to_node.
Instructions
Create a reusable local layout-grid style for aligning content. Each grid pattern is GRID (uniform squares via sectionSize) or ROWS / COLUMNS (count + gutterSize + alignment). Apply it to frames with apply_style_to_node. Returns { ok, styleId, name }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Style name, e.g. "Layout/8pt" | |
| grids | Yes | ||
| description | No |