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. |
||
|---|---|---|
| .. | ||
| acp | ||
| cli | ||
| core | ||
| demos | ||
| docs | ||
| mcp | ||