WordPress / twentytwentyfour

194 stars 120 forks source link

Consider using a modern font stack instead of system fonts #175

Closed LittleBigThing closed 12 months ago

LittleBigThing commented 1 year ago

Several default themes are using system fonts. This is a great practice since they have great language support and it avoids loading several font files. A disadvantage is that they are often not very similar on different operating systems (OSs).

An interesting alternative would be to use a modern font stack. It has the same advantages as a system font stack, but in addition they are chosen to match better between different OSs.

The modern font stacks website showcases several ideas. For example, the Neo-Grotesque stack could be a great alternative to where the theme now uses system fonts. The GitHub repo of the project demonstrates how this stack looks in different OSs.

beafialho commented 1 year ago

Thank you for the recommendation! I think the Neo-Grotesque stack would be a good choice for paragraphs.

MaggieCabrera commented 12 months ago

Let's close this since we swapped to using Inter instead