Add standard font "system-ui" for body to style.css
Opened this issue · 2 comments
https://hstspreload.org/static/css/style.css has this font stack:
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
I propose to change it to this:
font-family: system-ui, "-apple-system", "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
Because system-ui
is the standard version of prefixed BlinkMacSystemFont
and -apple-system
. It is implemented since Chrome 56:
https://www.chromestatus.com/feature/5640395337760768
and also in Safari 11:
https://caniuse.com/#feat=font-family-system-ui
As good web citizens you should use the standard way and ideally drop the prefixed fonts (may be too early for Safari to drop the apple prefix?)
Feel free to send a pull request with that change.