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 opened GitHub.com tabs.
To install the extenstion, you need to keep "Developer mode" of your browser is on then start installation.
- Clone this 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 opened 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 lokks 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 only(still developing).
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