Core: - Variable, VariableCollection types on SceneGraph - resolveVariable with alias chain resolution + cycle detection - Mode switching (activeMode per collection) - Bind/unbind variables to node properties (fills/strokes colors) - Renderer resolves variable bindings before painting Import: - Parse VARIABLE type NodeChanges from .fig files - Extract paint variable bindings (fills/strokes) UI: - VariablesPanel with reka-ui Tabs (collections) + Editable (names/values) - FillSection: variable picker (reka-ui Popover + Combobox) - Bound fills show purple variable name badge with detach button - Toggle variables panel from bottom of layers sidebar 7 new unit tests (83 total) |
||
|---|---|---|
| .. | ||
| fig-import.test.ts | ||
| layout.test.ts | ||
| scene-graph.test.ts | ||