- Install Stylus for Firefox, Chrome, Opera or Cascadea for Safari.
- Click here to install the github-dark.user.css.
If you would like to contribute to this repository, please...
- Fork
- Make sure you have these installed:
node
: version 12 or greateryarn
: version 1make
: available with UNIX-like OS, on Windows you can use this
- run
make build install
to rebuild the style and install in the default browser.
Any custom changes should be done in the files in the src
directory. Do not edit the .css
files in the project root, these are generated.
Contributing e.g. unstyled items, sources, extensions, etc. to name a few.
See and edit the respective files in /src/gen/ then run make build install
to rebuild and reinstall the style, then test your fixes and send a pull request.
Manual overrides to e.g. generated content or inline HTML styles to name a few.
See and edit respective files in src
then run make build install
to rebuild and reinstall the style, then test your fixes and send a pull request.
make deps
: Install development dependencies intoGithub Dark/node_modules
make build
: Buildgithub-dark.user.css
make install
: Installgithub-dark.user.css
make lint
: Run lintersmake clean
: Format source files
Lesser used targets include:
make authors
: Regenerate theAUTHORS
file based on git historymake update
: Update dependenciesmake
: Alias formake build
Internal use only targets include:
make patch
: Increment the patch version, create a commit and push itmake minor
: Increment the minor version, create a commit and push itmake major
: Increment the major version, create a commit and push it
- If you're using a custom domain for GitHub Enterprise, be sure to include it through a
@-moz-document
rule (Firefox) or add it to theApplies to
section in (Chrome).
Thanks to all our contributors so far! And thanks for the shoutout on the JS Party podcast!