openpencil/packages
Danila Poyarkov 46355bb221 Resolve variable-bound fill colors through alias chains
When kiwi paints have colorVar with a variable alias, resolve the
color through the variable's valuesByMode instead of using the stale
paint.color fallback. This fixes fills that reference design tokens
(Tokens → Primitives alias chain) where the paint.color contains
the library's published value but the local variable resolves to
a different color.

Build a variable color resolver from VARIABLE NCs during import,
walk alias chains through default mode values, and use the resolved
color in convertFills/convertStrokes.

Fixes Indicator, Link, Placeholder, and other variable-bound fill
colors in Preline UI and similar files with design token systems.
2026-03-14 17:25:52 +03:00
..
acp Lint all packages: fix 193 errors across core, mcp, acp 2026-03-09 13:18:08 +03:00
cli Move font loading and layout into SkiaRenderer.prepareForExport 2026-03-14 12:06:46 +03:00
core Resolve variable-bound fill colors through alias chains 2026-03-14 17:25:52 +03:00
demos feat: mobile layout, PWA support (#27) (#27) 2026-03-05 19:51:51 +03:00
docs Release v0.9.0 2026-03-09 17:43:11 +03:00
mcp Fix headless font rendering and deduplicate CLI/MCP setup 2026-03-14 11:45:38 +03:00