Repository navigation
v0.0.44 - SVG and color-mix
Code and release notes by GPT 5.6 Terra Max:
Fixed the color-mix() and SVG data-URI paths responsible for the failing cases.
- Added static
color(srgb ...)parsing, correct missing-channel propagation, and premultiplied-alpha interpolation insrc\value\colors.jsandsrc\value\color-mix.js. - Added safe SVG data-URI decoding/minification for escaped strings, UTF-8/base64 SVGs, whitespace, empty-element tags, URL-aware color shortening, and quote selection in
src\value\svg-data-uri.jsandsrc\value\svg-markup.js. - Protected URL payloads from subsequent CSS value optimizations so embedded SVG text, paths, and
fill="none"remain intact insrc\value\minify.js. - Fixed the embedded SVG
font-familyminification path. It now removes whitespace after genuine top-level family-list commas while preserving commas within CSS strings, escapes, comments, and function arguments; values containing XML entities are left intact to avoid changing decoded semantics.src\value\svg-markup.js:141-269