Issue with uploading app icon


Userlevel 1
Badge +1

I have been trying to upload my new app icons (which I believe follow Miro’s App Icon guiddelines, but have been getting an error of “Error while parsing svg file: $cvc-complex-type.4: Attribute 'type' must appear  on element 'style'.”. 

 

Any clue how I could go about resolving this?

 


3 replies

Userlevel 3
Badge +1

Hey @Joseph Low ,

Sorry to see this, its a new bug to me (and i’ve created the upload!).

 

If i read the error im assuming your file has a inline `<style>` tag. Can you try adding type="text/css" to the style tag? Otherwise: Could you share the SVG file thats giving you this error? And is it caused by the outline or color version?

 

Cheers,
Mettin

Userlevel 1
Badge +1

Hey @Mettin that seemed to have fixed the problem and I can now update the icons. Thank you very much!!

Userlevel 3
Badge +1

Good to hear @Joseph Low!

Mini tip: You can also minify your svg using SVGOMG, which will inline your styles too.

Reply