DEV Community

Krzysztof Żuraw
Krzysztof Żuraw

Posted on • Originally published at krzysztofzuraw.com on

Custom font on GitHub

To set your favourite font to be on GitHub you need:

  1. Refined GitHub extension
  2. Go to options of this extension. For Chrome: click on 3 dots on installed extension on Extensions list and select Options
  3. Paste following CSS into Custom CSS text-area
pre, code, .blob-code, .blob-code-marker, .input-monospace, .markdown-body code { font-family: MonoLisa; } 
Enter fullscreen mode Exit fullscreen mode
  1. You can change fonts/colours for other parts of GitHub using Custom CSS option

Top comments (1)

Collapse
 
powersagitar profile image
powersagitar

If you're using a chromium browser, another solution would be an extension named Github Code Font Changer.