NO BUG/DUPLICATE: Fill svg with color via css not possible anymore

Hi,
Giving an SVG a fill (via typography > color) doesn’t work anymore with Bricks 1.8.4 and up.
When I create an SVG I give it a fill like fill=CurrentColor, so I can set the color with a css style.
It doesnt matter if I add it via the Logo element or with the image element.
In Bricks 1.8.4 is stays black, what ever color I assign to it. Reverting back to 1.8.3 and it works.

When comparing code it seems extra code is added, and the svg is replaced with an img tag see:
1.8.3: Proton Drive
1.8.6: Proton Drive

Hi Siger,
This is because the SVG in the logo element is now included in an IMG tag, so you can use the inverse logo, which was not working before. The issue has already been reported here: NO BUG: Logo svg no longer embedded as SVG

Styling SVGs in img tags is generally not possible, and that’s why it doesn’t work for the “normal” image element either.

If you want to keep your workflow, use the SVG element instead, which you can wrap with a link (this is, in fact, the only difference to the logo element).

Best regards,
timmse