openpencil/packages/core
Danila Poyarkov 7c63fc3b22 Normalize colors at FigmaAPI proxy boundary
Root cause of 'Missing required field a' crash: fills/strokes/effects
set via the Figma Plugin API proxy were stored without color validation.
Colors missing the 'a' field (e.g. from AI tools or eval) caused Kiwi
encodeColor to crash on save/copy.

Fix: normalize colors in the proxy setters for fills, strokes, effects,
and gradient stops using normalizeColor() which defaults a to 1.
2026-03-13 13:04:29 +03:00
..
src Normalize colors at FigmaAPI proxy boundary 2026-03-13 13:04:29 +03:00
package.json Add subpath exports to @open-pencil/core 2026-03-12 22:10:36 +03:00
tsconfig.json Fix core tsconfig: add ESNext and DOM libs for npm publish 2026-03-04 01:58:37 +03:00