Vector svg assets changes and or loses colors

Hi!

My vector assets changes or loses colors at random. It seems like readymag tries to make the assets in the chosen palette, which is nice, but I dont need this. Is there a workaround? Should I use something other than SVG?


Hi! SVGs behavior is based on how they were created originally. Likely, what is happening in this case is that SVG styles are getting overwritten by the project’s code. To avoid this, you should review the settings used when exporting the SVG or pick another image format.

Here is an article on the topic, you might find it helpful: Use Inline Style Attributes on SVG Elements to Avoid Overwriting Styles | Sean C Davis

1 Like

If anyone is looking for the answer, this is it :point_up_2: :+1:

1 Like