Created
May 12, 2021 03:32
-
-
Save gbrayut/72916ff8a7ab5a187d2c7abb191e00f3 to your computer and use it in GitHub Desktop.
Github Docs Force Dark Mode
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 Docs Force Dark Mode | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Force Dark Mode | |
// @author GBrayUT | |
// @match https://docs.github.com/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
document.documentElement.setAttribute('data-color-mode', 'dark'); | |
document.documentElement.setAttribute('data-dark-theme', 'dark'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment