AI-native design editor. Open-source Figma alternative.
Fix review: COMPONENT_SET in table, fill picker tabs, hero image, MCP planned, roadmap title
Anton A S6779179c1a4a
diff --git a/docs/development/roadmap.md b/docs/development/roadmap.mdindex 1b0d9e38c..208fdc190 100644--- a/docs/development/roadmap.md+++ b/docs/development/roadmap.md@@ -29,7 +29,7 @@ Properties panel, layers panel, toolbar, Yoga layout integration, text editing.- System font loading via Local Font Access API- Canvas rulers with selection highlight-### Phase 3: File Format + Import/Export ✅+### Phase 3: File I/O + Visual Features ✅.fig import/export, Kiwi codec, clipboard, sections, pages, advanced rendering.@@ -92,7 +92,7 @@ Prototyping, comments, desktop distribution, documentation, public launch.|-------|-------------------|--------|| Phase 1: Core Engine | 3 months | ✅ Complete || Phase 2: Editor UI + Layout | 3 months | ✅ Complete |-| Phase 3: File Format + Import/Export | 2 months | ✅ Complete |+| Phase 3: File I/O + Visual Features | 2 months | ✅ Complete || Phase 4: Components + Variables | 2 months | 🔲 Planned || Phase 5: AI Integration | 2 months | 🔲 Planned || Phase 6: Polish + Distribution | 2 months | 🔲 Planned |diff --git a/docs/development/testing.md b/docs/development/testing.mdindex 151dd019c..efecd9257 100644--- a/docs/development/testing.md+++ b/docs/development/testing.md@@ -50,8 +50,8 @@ bun run test:unitTests cover:- Scene graph CRUD operations, parent-child relationships, z-ordering, hit testing-- **Fig-import pipeline** — node type mapping, transforms, fills/strokes/effects, gradients, images, arcs, nested hierarchies (`tests/engine/fig-import.test.ts`, 356 lines)-- **Layout computation** — Yoga auto-layout: direction, gap, padding, justify, align, child sizing (fixed/fill/hug), cross-axis sizing, wrap, nested layouts (`tests/engine/layout.test.ts`, 888 lines)+- **Fig-import pipeline** — node type mapping, transforms, fills/strokes/effects, gradients, images, arcs, nested hierarchies (`tests/engine/fig-import.test.ts`)+- **Layout computation** — Yoga auto-layout: direction, gap, padding, justify, align, child sizing (fixed/fill/hug), cross-axis sizing, wrap, nested layouts (`tests/engine/layout.test.ts`)### Writing Unit Testsdiff --git a/docs/guide/architecture.md b/docs/guide/architecture.mdindex 57172b817..d63458498 100644--- a/docs/guide/architecture.md+++ b/docs/guide/architecture.md@@ -29,7 +29,7 @@│ │ └──────────────────────────────────────────────────────┘ │ ││ └────────────────────────────────────────────────────────────┘ ││ │-│ MCP Server (117 tools) Collaboration (planned, CRDT) │+│ MCP Server (planned, 117 tools) Collaboration (planned, CRDT) │└──────────────────────────────────────────────────────────────────┘```diff --git a/docs/guide/features.md b/docs/guide/features.mdindex 66f5557a2..861ada2fe 100644--- a/docs/guide/features.md+++ b/docs/guide/features.md@@ -43,7 +43,7 @@ Rulers at the top and left edges show coordinate scales. When you select a node,## Color Picker & Fill Types-HSV color selection with hue slider, alpha slider, hex input, and opacity control. The fill type picker supports solid colors, gradients (linear, radial, angular, diamond) with editable gradient stops, and image fills. Gradient transforms position the gradient within the shape. Connected to fill and stroke sections in the properties panel.+HSV color selection with hue slider, alpha slider, hex input, and opacity control. The fill type picker provides tabs for Solid, Gradient (Linear, Radial, Angular, Diamond), and Image. Switching to a gradient type shows an editable gradient stop bar. Gradient transforms position the gradient within the shape. Connected to fill and stroke sections in the properties panel.## Layers Panel@@ -77,9 +77,9 @@ Documents support multiple pages like Figma. The pages panel lets you add, deletNodes highlight on hover with a shape-aware outline that follows the actual geometry — ellipses get elliptical outlines, rounded rectangles get rounded outlines, vectors get path outlines. This provides visual feedback before clicking to select.-## Advanced Rendering+## Advanced Rendering (Tier 1)-The CanvasKit renderer supports full tier 1 visual features:+The CanvasKit renderer supports full Tier 1 visual features for Figma rendering parity:- **Gradient fills** — linear, radial, angular, diamond with gradient stops and transforms- **Image fills** — decoded from blob data with scale modes (fill, fit, crop, tile)diff --git a/docs/index.md b/docs/index.mdindex 2ec7620f0..51d97b206 100644--- a/docs/index.md+++ b/docs/index.md@@ -6,6 +6,9 @@ hero:name: OpenPenciltext: AI-Native Design Editortagline: Open-source Figma alternative. Self-host it, extend it, talk to it.+ image:+ src: /favicon.svg+ alt: OpenPencilactions:- theme: brandtext: Get Starteddiff --git a/docs/reference/file-format.md b/docs/reference/file-format.mdindex 64ff5415a..6d1dc7710 100644--- a/docs/reference/file-format.md+++ b/docs/reference/file-format.md@@ -58,6 +58,8 @@ Figma's schema uses non-contiguous field IDs (e.g., 1, 2, 5, 10 with gaps). The| .png | Planned | Planned || .pdf | — | Planned |+See [Roadmap](/development/roadmap) for planned format support timeline.+## Clipboard FormatCopy/paste uses the same fig-kiwi binary encoding:diff --git a/docs/reference/node-types.md b/docs/reference/node-types.mdindex 02b52513f..961ab3b02 100644--- a/docs/reference/node-types.md+++ b/docs/reference/node-types.md@@ -4,7 +4,7 @@ The scene graph supports 28 node types from Figma's Kiwi schema. Each node is id## Type Table-All 28 Figma schema types. Types marked ✅ are in the engine's `NodeType` union and actively handled (16 mapped from Kiwi + `COMPONENT_SET` as a synthetic type = 17 total).+28 Figma schema types + 1 synthetic engine type. Types marked ✅ are in the engine's `NodeType` union (17 total).| Type | ID | Description | Engine ||------|----|-------------|--------|@@ -36,6 +36,7 @@ All 28 Figma schema types. Types marked ✅ are in the engine's `NodeType` union| SECTION_OVERLAY | 26 | Section overlay | || WASHI_TAPE | 27 | FigJam washi tape | || VARIABLE | 28 | Variable definition node | |+| COMPONENT_SET | — | Variant group container (synthetic, mapped from SYMBOL) | ✅ |### Engine NodeType Union (17 types)