djangoproject.com
djangoproject.com copied to clipboard
Remove Google Fonts
Would you be willing to remove this Google Fonts from this website? There are better alternatives available Some reputable alternatives can be seen here: https://switching.software/replace/google-fonts/
i second this
I third this.
I fourth this
Google fonts API is actually nice.
Sure, it's nice, but it's always better to self-host fonts, instead of injecting code from a third party.
I pretty sure you can just download this font directly from google fonts.
A PR here would be very welcome.
On it.
#1019 😉
I'm planning to have a look at this and switch to a system font stack like we did on the Django admin - at least for the sans-serif text currently using Roboto. For other text I am not yet sure. There is a serif font used in places and ui-serif
has very little support. Same for ui-monospace
.
Well, okay, I had a quick look at system fonts but for some areas it looks bad. See screens. I am not sure about the nav bar, I think it's maybe an improvement but much longer using my system font (presumably SF Pro), but the big banner text "Django makes it easier ..." looks really bad. Probably we should choose a different font for headers, ideally something that is installed on (most) people's machines already but maybe something that we just use as a web font (could use a downloaded Roboto, but seems annoying just for headers).
Or maybe people think it looks fine, I dunno.
Before:
After:
The screenshot without Google Fonts looks fine for me.
For my blog I used PicoCss which is ultralight and does not use external fonts.
Here is an extract from its CSS in case it may be of interest.
--font-family: system-ui, -apple-system, "Segoe UI", "Roboto", "Ubuntu",
"Cantarell", "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
"Segoe UI Symbol", "Noto Color Emoji";
https://github.com/picocss/pico/blob/master/css/pico.classless.css#L10
Okay, if you're happy with it I'll press on 👍🏻
This isn't completed, at least the monospace font is still coming from Google Fonts
The issue closed automatically. I reopened it.