Jump to content

Recommended Posts

Posted

Hi,

maybe this topic is an already solved one. I want to create and export SVG icons in Affinity Designer. Actually i have to modify the code after exporting the icon to set the fill attribute and remove unnessesary stuff.

 

Is there a easy way to create and export icons including fill="currentColor" and stuff?

 

Thanks,

Steven 

  • 1 month later...
Posted

Welcome to the forums @Stevoh

If you can supply an Affinity document that you are trying to export to SVG, and detail the parts of the SVG code which are being exported in a way which you don’t want, then someone might be able to help you in choosing the best export settings.

Posted
On 11/11/2022 at 3:15 PM, Stevoh said:

to create and export icons including fill="currentColor"

You mean to use the currentColor value from CSS and to pass that text color then through to the SVG shapes on export? - Nope, there is no direct way in ADe to do and associate that for SVG code. Or in other words it doesn't have any clues about CSS here for SVG code generation, thus you will have to do that as you already did, afterwards manually via editing in an text/code editor.

☛ Affinity Designer 1.10.8 ◆ Affinity Photo 1.10.8 ◆ Affinity Publisher 1.10.8 ◆ OSX El Capitan
☛ Affinity V2.3 apps ◆ MacOS Sonoma 14.2 ◆ iPad OS 17.2

Posted
25 minutes ago, Stevoh said:

Do you think about another solution?

Unless you can supply the file and information I asked for we can only guess at a solution, and that could take a long time with a lot of unnecessary dead-ends.

Note: It's not a major problem, and you haven't caused any trouble, but it's best not to “at” someone (e.g. @GarryP) unless you are pretty sure they will be okay with it; some people don’t like being “at-ed” as it can cause unwanted forum notifications.

Posted

Thanks for supplying the file.
And now can you supply the extra information which details what you mean by “create and export icons including fill="currentColor" and stuff”?
Especially the “and stuff” because that’s very vague.

Posted

I am talking about the implementation via CSS in my frontend. i want to set the fill color via CSS. I think, v_kyr gave me the answer, already: there's no clean export funcktionality. 

  • 4 weeks later...
  • 9 months later...
Posted

Another vote for this to be updated and added to Serif, testing the water from Illustrator and this jumped straight out at me. Lots of other features I like but this one is a requirement for me.

Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.