From c85e06466ce5c04ed7e5caa2c827115aa1d4d366 Mon Sep 17 00:00:00 2001 From: Danila Poyarkov Date: Thu, 21 May 2026 01:51:20 +0300 Subject: [PATCH] fix(fig): preserve imported canvas strokes --- packages/core/src/io/formats/fig/export.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/core/src/io/formats/fig/export.ts b/packages/core/src/io/formats/fig/export.ts index 2cb624fb9..3f41b1ef7 100644 --- a/packages/core/src/io/formats/fig/export.ts +++ b/packages/core/src/io/formats/fig/export.ts @@ -184,6 +184,10 @@ function applyImportedCanvasFields(page: FigExportPage, canvasNc: KiwiNodeChange if ('backgroundColor' in page.figmaRawNodeFields) { canvasNc.backgroundColor = structuredClone(page.figmaRawNodeFields.backgroundColor) } + const strokeJoin = page.figmaRawNodeFields.strokeJoin + if (typeof strokeJoin === 'string') canvasNc.strokeJoin = strokeJoin + const strokeWeight = page.figmaRawNodeFields.strokeWeight + if (typeof strokeWeight === 'number') canvasNc.strokeWeight = strokeWeight } function buildCanvasEntries(