This project is archived.
Since GitHub published its own dark mode, this project became useless. So I archived this project.
This project will soon be archived #8
Also, the new GitHub Enhancing extension is published.
The Dark Mode for github.com
Before:
After:
- Install this extension from:
- Turn on the installed extension "GitHub Dark Mode".
- Turn on the system control dark mode.
- Refresh the open github.com tabs.
To install the extension, you need to keep "Developer mode" of your browser is on then start installation.
- Clone this repository.
- Run
npm run dev
ornode build.js
in the repository. - Go to the browser's extension settings.
- Click "Load Unpacked" button.
- Select the cloned repository and confirm.
- Turn on the added extension "GitHub Dark Mode".
- Turn on the system control dark mode.
- Refresh the open github.com tabs.
If you want to develop this extension, you need to add the style sheets at the end of styles.css.
styles.css looks like this:
@media (prefers-color-scheme: dark) {
... {
...
}
... {
...
}
/* Your new style sheets here. */
}
If you found something wrong when you are using this extension, just submit an issue.
Here is some scripts to help you develop this extension, they supports PowerShell and Bash as well so that you can use them on all platforms.
build
- Pack extension to a ZIP filecbuild
- Force pack extension to a ZIP filepack-souce-code
- pack all the source code to a ZIP filecpack-souce-code
- Force pack all the source code to a ZIP fileunzip-release
- unpack the packed release.zip