Created
February 19, 2023 18:09
-
-
Save kytta/8ea498f3e32b5a166daaeddd306e83c7 to your computer and use it in GitHub Desktop.
Most Swiss default fonts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
body { | |
font-family: | |
"Helvetica Neue", /* macOS - basically our goal */ | |
"Neue Haas Grotesk Text Pro", /* Windows - part of the "Pan-European Supplemental Fonts" package */ | |
Helvetica, /* macOS - also the classic */ | |
"FreeSans", /* Linux - made by GNU, can be installed on most systems */ | |
Arial, /* macOS and Windows - part of the "Core fonts for the Web" */ | |
system-ui, /* if for some reason we're here - let's hope that the system UI font is Swiss */ | |
sans-serif; /* most generic fallback */ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Inter is a nice addition, but it's not built into any OS AFAIK. If you can allow supplementing an extra font face, do it. I'd place it between Helvetica and Free Sans. I'd also rather choose the "Display" variation (for v4 that means increasing the
opsz