Skip to content

Use the system font for body type #506

Closed
@notriddle

Description

@notriddle

Design Feature Request

Summary

Change the font-family of all non-headline elements from "Fira Sans", Helvetica, Arial, sans-serif to the system font stack of -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol.

The headlines, which use the branded display face "Alfa Slab One", serif, should be left alone.

Motivation

Performance. You know, it's like four less things to download (Fira Sans Italic, Fira Sans ExtraBold, Fira Sans SemiBold, Fira Sans Regular).

Drawbacks

I'm not convinced that losing the custom typeface for tiny text would have much difference, but you would lose quite a bit of branding effect on big sub-headings like the "The programming language that..." tagline, which is currently set in a Humanist face but would end up with something more Helvetica-esque.

Rationale and alternatives

  • Using "the system font", while it does mean giving up some amount of branding, should still leave you with a good, readable font.
  • We could also just use font-family: sans-serif, but that tends to be an "Ariel compatible" font even when it's not necessary.
  • The biggest improvement of using a stock font of some sort, instead of a web font, is that it removes janky re-layout-ing on things like the button as the page loads (try reloading the page after clearing your cache and watch the button).
  • By not doing this, you require the browser to download two fonts, one of which is multiplied by having to be done in several different styles.

Maintenance

Using the GitHub system font stack shouldn't require any more maintenance than the woff you currently use.

Unresolved Questions

Segoe UI is significantly thinner than Helvetica at large sizes. Should something be done about that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-DesignUI / UX of the website.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions