Search the Community
Showing results for tags 'react'.
-
hello I want to create and modify icons but when I export them in svg to use them in react I have a problem either I have the icon displayed well but I can't use the fill css to change the color or I don't see the curves and I can change the color and I have to edit the svg to remove this from the file otherwise I have compilation errors in react <?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" > and xmlns:serif="http://www.serif.com/" here are some examples a digital svg export no curve but takes the color and one in flatten with the curves but fill css doesn't work I tried full export option but still same result did i forget to do something i am new to affinity publisher and designer logo.afpub
-
Whenever I export an SVG file it comes out a different size. Such as I when I first create the file it says I set the size to 1px by 1px. I create a circle and then when I export it to my web application the size is much bigger than it says it was. I have found that if I change the width and height properties on the SVG file itself it will shrink the SVG to my liking, but I would like it to do it when I export and not have to do it every time. If you need any more information from me please let me know.
-
Whenever I export an SVG file to an application for the browser the SVG Comes out with a style on it (style = "fill-opacity: 0"). This makes it annoying because every time I make an SVG they always have this style on it. I have to go into the file and remove this style attribute to make it work every single time I make an SVG. Is there a way when exporting to not have it display this style attribute?
- 2 replies
-
- css
- affinity designer
-
(and 2 more)
Tagged with: