The next micro version of librsvg will support CSS var(--blah, #112233) wherever a color is allowed. This is the first step in supporting CSS custom properties for SVG Native, AKA OpenType SVG glyphs.
gitlab.gnome.org/GNOME/librsvg…
(#997): Support "var(--foo, #aabbcc)" just for colors (!897) · Merge requests · GNOME / librsvg · GitLab
This adds very minimal support for CSS var(), just for properties that accept colors. The parser is extremely minimal, and has these limitations: ...GitLab