Created
April 20, 2021 18:59
-
-
Save bostondv/fed206622a80a38180af6e94270e7319 to your computer and use it in GitHub Desktop.
Github Custom Dark Mode Tampermonkey Script
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 Github Custom Dark Mode | |
| // @namespace http://github.com | |
| // @version 0.1 | |
| // @description A lighter version of Github's dark mode but not as light as the "dimmed" dark mode. | |
| // @author Boston Dell-Vandenberg | |
| // @match https://github.com/* | |
| // @icon https://www.google.com/s2/favicons?domain=github.com | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| document.documentElement.style.setProperty('--color-bg-canvas', 'rgb(28, 28, 33)'); | |
| document.documentElement.style.setProperty('--color-bg-primary', 'rgb(28, 28, 33)'); | |
| document.documentElement.style.setProperty('--color-bg-tertiary', 'rgb(28, 28, 33)'); | |
| document.documentElement.style.setProperty('--color-bg-secondary', 'rgb(28, 28, 33)'); | |
| document.documentElement.style.setProperty('--color-header-bg', 'rgb(40, 40, 47)'); | |
| document.documentElement.style.setProperty('--color-btn-bg', 'rgb(40, 40, 47)'); | |
| document.documentElement.style.setProperty('--color-social-count-bg', 'rgb(40, 40, 47)'); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment