Last active
January 29, 2025 07:59
-
-
Save klinkby/b3ff0700ac15067dd36021d3c4c7eaa5 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name Fira code font in ADO | |
| // @namespace http://tampermonkey.net/ | |
| // @version 2025-01-29 | |
| // @description From Consolas to Fira with liga | |
| // @author @klinkby | |
| // @match *://dev.azure.com/* | |
| // @exclude *://amcdn.msftauth.net/* | |
| // @exclude *://*.vsassets.io/* | |
| // @exclude *://login.microsoftonline.com/* | |
| // @icon https://www.google.com/s2/favicons?sz=64&domain=dev.azure.com | |
| // @updateURL https://gist.github.com/klinkby/b3ff0700ac15067dd36021d3c4c7eaa5 | |
| // @downloadURL https://gist.github.com/klinkby/b3ff0700ac15067dd36021d3c4c7eaa5 | |
| // @grant none | |
| // @run-at document-start | |
| // @noframes | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| var el = document.createElement("style"); | |
| el.type = "text/css"; | |
| el.textContent = "code,.view-lines,.monospaced-text{font-family:'Fira Code'!important;font-feature-settings:'liga' 1!important;}"; | |
| document.head.appendChild(el); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment