astro-font
astro-font copied to clipboard
`astro-font` will automatically optimize your Custom Fonts, Local Fonts, Fonts over any CDN and Google fonts for performance.
When using tools like Satori, we need to load fonts. It would be great to be able to access the data loaded in an endpoint
According to https://stackoverflow.com/questions/61047551/typescript-union-of-string-and-string-literals, the right type to allow any string is not the one I initially suggested. It works but since there's a better way, here is a quick PR...
I'm trying to load a Google Fonts font with Astro Font: ```astro ``` This appears to produce the following CSS, which Firefox flags as an "Invalid Property Value". The font...
I'm not sure if this happens in production builds or not, but I noticed that when developing offline using a Google Fonts url as a font, the astro compiler throws...