Skip to content

Instantly share code, notes, and snippets.

@mcchrish
Last active April 4, 2019 03:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcchrish/84639e659b2758d3b67df7450c3a1f2c to your computer and use it in GitHub Desktop.
Save mcchrish/84639e659b2758d3b67df7450c3a1f2c to your computer and use it in GitHub Desktop.
I love Iosevka font and would like to see it used in Github instead of the default. Here's a rough list of the css class selectors related to code display and how to override them.
textarea, code, .commit, .sha, .sha-block, .commit-ref, .file-info {
font-family: SF\ Mono !important;
}
pre, pre>code, .blob-code-inner {
font-family: Iosevka\ Term\ Slab !important;
}
pre, .blob-code-inner {
font-size: 14px !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment