Fonts
The fonts github.com uses
github.com sets its headlines and body text in Mona Sans. Mona Sans is a licensed font the site serves itself. The closest free match on Google Fonts: Inter.
Measured from github.com 4 days ago.
Font families
3 families- Used for
- h1, h2, h3, body, label, button
- Source
- Self-hosted
- Free alternative
- Inter
- Used for
- button
- Source
- stand-in Inter
- Free alternative
- Inter
- Used for
- code
- Source
- Self-hosted
- Free alternative
- Inter
CSS to reproduce it
Font variables with the free stand-in in the stack, so the same CSS works with or without the licensed font.
:root {
--font-heading: "Mona Sans", "Inter", sans-serif; /* Inter stands in for Mona Sans */
--font-body: "Mona Sans", "Inter", sans-serif; /* Inter stands in for Mona Sans */
--font-button: "Mona Sans VF", "Inter", sans-serif; /* Inter stands in for Mona Sans VF */
--font-mono: "Mona Sans Mono", "Inter", monospace; /* Inter stands in for Mona Sans Mono */
--font-size-base: 18px;
}How the type is set
For AI agents
The pack is plain text, no key: fetch DESIGN.md, or hand the whole pack to Claude Code, Cursor or Copilot with the MCP server.
curl -s https://stylepack.ai/packs/github.com/DESIGN.mdQuestions
What font does github.com use?
github.com uses Mona Sans, Mona Sans VF, Mona Sans Mono. Headlines are set in Mona Sans and body text in Mona Sans, measured from the site as it renders, not read from its stylesheet.
Is the github.com font free to use?
No. Mona Sans is a licensed font that github.com serves itself. The closest free match is Inter, available on Google Fonts. The CSS on this page puts it in the font stack as the stand-in.
How do I get the same typography as github.com in my project?
Download the github.com design pack from Stylepack: it holds the font stack, the type scale, every text style and the screenshots, in a form an AI coding agent such as Claude Code or Cursor can build from.