
SVG presentation attributes resolve var(), whatever the comment in your repo says
A note in one repository said CSS custom properties do not work in SVG attributes, and a whole chart was hand-rolled around it. The measurement says otherwise: fill, stroke and stop-color all resolve var(), and they follow the dark-mode query with no JavaScript.