Skip to content

Commit 538ce08

Browse files
committed
docs(skill): note delete_variable_collection in author-design-system
The reference claimed a collection couldn't be deleted via the tools; that gap is now closed, so document delete_variable_collection as the cleanup path instead of a known limit.
1 parent ac5d532 commit 538ce08

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

skills/figma-build/references/author-design-system.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,10 @@ Then **bind** the new variable the same way you'd bind an existing one — colou
3131
- **Modes are plan-gated.** `add_variable_mode` (e.g. a `Dark` mode) fails with
3232
`Limited to 1 modes only` on free/Starter files — the tool is faithfully surfacing Figma's plan
3333
limit. Multi-mode theming needs a paid plan.
34-
- **A collection can't be deleted** via the tools (only `delete_variable` exists). Emptying a
35-
collection leaves the empty collection behind — create collections deliberately.
34+
35+
**Cleanup:** delete a single variable with `delete_variable`, or a whole collection (and every
36+
variable in it) with `delete_variable_collection` — remove an authoring mistake rather than leaving
37+
an orphan collection behind.
3638

3739
## Styles (shared paint / text / effect / grid)
3840

0 commit comments

Comments
 (0)