I updated to the 3.1 of the ui-svg version and have checked svg_graphics.html and svg_graphics.js in ~/.node-red/node_modules/node-red-contrib-ui-svg, and the code doesn't contain the !important tag
div.ui-svg path {
fill: inherit;
}
However, on loading a svg file I notice that my style="fill:red;" etc. tags are still overwritten by the default background. Inspecting the element shows me that the !important tag is still there
.svggraphics_af4851e6edb54d7a div.ui-svg path {
fill: inherit !important;
}
Removing the !important tag gives me the colours that I want in the SVGs. Is there a way I can get rid of this please and why is this still showing?
Thanks.