openpencil/packages
Danila Poyarkov e2de2471b9
fix(core): store picker colours in the document's colour profile (#724)
The OKHCL picker baked every colour to sRGB coordinates, so editing a fill in
a Display-P3 document stored sRGB numbers in a document that declares P3:
rendering stayed correct because the perceptual payload drives it, but the
stored value and any export disagreed with the profile.

`okhclToRGBA` and `rgbaToOkHCL` now take the colour space to read or write,
and both storage paths — the Figma API proxy and the picker actions — pass the
document's profile. sRGB documents are unchanged, since that is the default.
2026-09-18 13:08:49 +03:00
..
cli Release v0.15.0 2026-09-16 17:57:35 +03:00
core fix(core): store picker colours in the document's colour profile (#724) 2026-09-18 13:08:49 +03:00
demos
docs fix(MCP): add read-only file lifecycle tools (#722) 2026-09-18 11:55:06 +03:00
dom-css Release v0.15.0 2026-09-16 17:57:35 +03:00
fig fix: convert document colour profiles, keep text edits live, and fix .fig exports (#716) 2026-09-18 00:43:10 +03:00
harness Release v0.15.0 2026-09-16 17:57:35 +03:00
kiwi Release v0.15.0 2026-09-16 17:57:35 +03:00
mcp fix(MCP): add read-only file lifecycle tools (#722) 2026-09-18 11:55:06 +03:00
pen Release v0.15.0 2026-09-16 17:57:35 +03:00
scene-graph fix: convert document colour profiles, keep text edits live, and fix .fig exports (#716) 2026-09-18 00:43:10 +03:00
vue fix(core): store picker colours in the document's colour profile (#724) 2026-09-18 13:08:49 +03:00