Back to Interop 2027 proposals
CSS Linked Parameters for SVG
Linked parameters provides three ways for developers to style SVG images.
img {
link-parameters: param(--color, blue);
}<img src="example.svg#:~:param(--color,blue)">.icon {
background-image: url("example.svg", param(--color, blue));
}
Discussion on GitHub (2)
Btw there is a web-feature for it: https://web-platform-dx.github.io/web-features-explorer/features/link-parameters/
@o-t-w Looks like the github bot needs the literal string "Link parameters" to be edited into the original post, not the link to the feature.