Hacker News new | ask | show | jobs
by doodlesdev 1193 days ago
I would love to see more websites that do this:

   font-family: system-ui, sans-serif;
Instead of trying to download fonts from Google Fonts (which I block though uBlock Origin filters) or the "superior" Bunny CDN or whatever it's called. Nowadays I even went to the point of forcing all websites in my web browsers to use system-ui and I could not be happier. A few advantages of that are:

- Websites load faster.

- Typesetting is beautiful everywhere.

- Text is readable and consistent.

The only problem I still have is when websites decide that using web-fonts is a good way to ship icons, I have no option sometimes but enable remote fonts and I hate it.

If you aren't using system-ui yet take a look here how it looks in various operating systems: https://github.com/system-fonts/modern-font-stacks#system-ui

1 comments

I would even prefer that websites do this:

    /* Intentional left blank */
And use my defaults. Maybe I have a high DPI display and prefer serif for body text.