Closed
Description
Webfonts in general bring the issue that the page can not render completely without the font download finishing, which gives us one of the following issues:
- flash of invisible text (FOIT) which makes the browser render a invisible font until the download is done (equivalent to
font-display: block
and default behaviour in most browsers) - flash of unstyled text (FOUT) which make the browser render a system font and then replace it with the downloaded font (equivalent to
font-display: swap
)
Both are bad in their own ways and I think we should eliminate all web fonts and just use a sytem-native font stack. This would match us with GitHub and GitLab which both also use native font stacks and do not rely on any web fonts.
GitHub has:
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;
GitLab has:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", Ubuntu, Cantarell, "Helvetica Neue", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
Metadata
Metadata
Assignees
Labels
No labels