ElianCodes / brutal

A neobrutalism Astro starter theme
https://brutal.elian.codes/
MIT License
309 stars 44 forks source link

Switching from Google fonts to Bunny fonts #20

Closed palmiak closed 1 year ago

palmiak commented 1 year ago

Google Fonts aren't GDPR compliant - Bunny Fonts (or self-hosting fonts) is recommended:

https://european-alternatives.eu/alternative-to/google-fonts

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
brutal ✅ Ready (Inspect) Visit Preview Mar 20, 2023 at 0:52AM (UTC)
ElianCodes commented 1 year ago

Thanks for this @palmiak!!! Very cool of you!

I'm still searching for a better way to include fonts tho. Loading them over HTTP can be slow and cause CLS sometimes, but in the meantime, I'm happy to merge this!

palmiak commented 1 year ago

Right now, there are no gains from using CDN for fonts (apart from the fact it's easy to use). Personally, I would just download all the fonts and add them to the repo.

ElianCodes commented 1 year ago

Right now, there are no gains from using CDN for fonts (apart from the fact it's easy to use). Personally, I would just download all the fonts and add them to the repo.

Exactly! That's also the way I was thinking! Gonna put it in an issue and on my to-do list