Last active
July 5, 2023 06:47
-
-
Save tambry/5946eb1c020f4e5b3013a07641211ef7 to your computer and use it in GitHub Desktop.
This file contains 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 Remove custom GitLab fonts | |
// @namespace https://tambre.ee/ | |
// @version 1.11 | |
// @description Replace GitLab's own serif (GitLab Sans) and monospace (JetBrains Mono) fonts with Consolas and Segoe UI. | |
// @author Raul Tambre | |
// @match https://gitlab.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=gitlab.com | |
// @grant GM_addStyle | |
// @updateURL https://gist.github.com/tambry/5946eb1c020f4e5b3013a07641211ef7/raw/remove-custom-gitlab-fonts.user.js | |
// @downloadURL https://gist.github.com/tambry/5946eb1c020f4e5b3013a07641211ef7/raw/remove-custom-gitlab-fonts.user.js | |
// @supportURL https://gist.github.com/tambry/5946eb1c020f4e5b3013a07641211ef7#new_comment_field | |
// ==/UserScript== | |
'use strict'; | |
GM_addStyle(` | |
:root | |
{ | |
--default-mono-font: "Consolas"; | |
--default-regular-font: "Segoe UI"; | |
}`); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment