Skip to main content
Question

figma.createNodeFromSvg can not create linearGradient with percetange x1


Semi_Design_UED-MED

When I create svg nodes in figma.createNodeFromSvg, two different style nodes were create. However, these svgs have same style in browser.

The only code diff were linearGradient x1,y1,x2,y2 as fellow image.

It seems like Figma can not handle percentage type linearGradient right?

  • linearGradient with percentage type x1,x2,y1y2 in browser

  • linearGradient with number type x1,x2,y1y2 in browser

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings