If a text element in an SVG is semi-opaque, Figma switches it to full opacity on import.
Here’s an example. Import this SVG and the text “My Opacity Changes!” label is not 50% opacity, it is 100%.
<svg width="768" height="650" viewBox="0 0 768 650" fill="none" xmlns="http://www.w3.org/2000/svg">
<text opacity="0.5" fill="#000" font-family="Lato" font-size="15">
<tspan x="26.8965" y="558.805">My Opacity Changes!</tspan>
</text>
</svg>
I our workflows, I set elements in our SVG to opacity=0.01 as a special workaround for this bug:
I developed our process to read “0.01” as a flag for “this should be invisible, but Figma can’t handle invisible elements so just treat this element as fully invisible despite being 1% opacity”.
But now I can’t even use Figma to edit SVGs with opacity=0.01.
We will need to develop a Figma workaround on top of a Figma workaround.
