create_grid_style
Creates a reusable local layout-grid style to align content with GRID, ROWS, or COLUMNS patterns. Apply the style to frames for consistent spacing.
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 |