#Astro image processing ignores svg styles (fonts)

1 messages · Page 1 of 1 (latest)

glad steppe
#

Hey, wanted to ask before raising a github issue, wether anyone ran into troubles with astro image processing ignoring the font styles.

I'm running an astro with tailwind (standard setup). I've even added the used fonts in my tailwind.config.mjs and to my <style is:global>. I know the font loads correctly cause when i tried using a <p> block it does show as expected, but when I use my excalidraw generated svg (see attached), the style/font-family attributes just get ignored via the astro image

#

Also as a note, when I changed my .svg to .astro and imported it as an Astro component, the fonts from the "svg astro component" load as expected. So this just leads me to believe this must be astro image processing overriding some styles