Closed
Description
div![
raw![r##"<svg width="32" height="32" viewBox="0 0 32 32" fill="none"
xmlns="http://www.w3.org/2000/svg">
<circle cx="16" cy="16" r="16" fill="#3751FF"/>
<path d="M11 10C11 9.44772 11.4477 9 12 9H15.9905C18.2127 9 19.9333 9.60955 21.1524 10.8287C22.3841 12.0478 23 13.765 23 15.9803C23 18.2088 22.3841 19.9391 21.1524 21.1713C19.9333 22.3904 18.2127 23 15.9905 23H12C11.4477 23 11 22.5523 11 22V10Z" fill="url(#paint0_linear)"/>
<defs>
<linearGradient id="paint0_linear" x1="11" y1="9" x2="23" y2="23" gradientUnits="userSpaceOnUse">
<stop stop-color="white" stop-opacity="0.7"/>
<stop offset="1" stop-color="white"/>
</linearGradient>
</defs>
</svg>"##
],
]
It should render letter D with gradient on a blue circle. Only cirle is rendered. It works when fill
in path
is set to e.g. black
(fill="black"
).
So it looks there is a problem with url
in fill="url(#paint0_linear)"
. There were many bugs and strange behavior in gradient handling by browsers (Chrome, Firefox and others) so it's possible it isn't a bug in Seed, but maybe Seed somehow affects url resolving or rendering.
Note - SVG has been generated by Figma.