Your eyes will ❤️ you.
TOC
Preview
Installation
- Install Stylus for Firefox, Chrome, Opera or Cascadea for Safari.
- Install github-dark.user.css.
Additional Userstyles
Supported GitHub Extensions
Available Syntax Highlighting Themes (Demo)
| Theme | GitHub | CodeMirror | Jupyter |
|---|---|---|---|
| Ambiance | |||
| Base16 Ocean Dark | |||
| Chaos | |||
| Clouds Midnight | |||
| Cobalt | |||
| Dracula | |||
| GitHub Dark | |||
| Idle Fingers | |||
| Kr Theme | |||
| Material | |||
| Merbivore | |||
| Merbivore Soft | |||
| Mono Industrial | |||
| Mono Industrial Clear | |||
| Monokai | |||
| Monokai Spacegray Eighties | |||
| Obsidian | |||
| One Dark | |||
| Pastel on Dark | |||
| Railscasts | |||
| Solarized Dark | |||
| Terminal | |||
| Tomorrow Night | |||
| Tomorrow Night Blue | |||
| Tomorrow Night Bright | |||
| Tomorrow Night Eighties | |||
| Twilight (default) | |||
| Vibrant Ink |
- Support for Codemirror and Jupyter notebook syntax highlighting themes as listed above.
- Please provide a pull request if you have or want to create a missing theme, or help complete the theme(s) designated with a construction symbol (
🚧 ).
Contributions and Development
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
Then run make deps to install dependencies.
github-dark.user.css file.
All changes are lost on make build
Auto generated CSS
Contributing e.g unstyled items, sources, extensions, etc. to name a few.
See and edit the respective files in /src/gen/.
And then run make build install to rebuild the style and install it test you fixes and PR back.
Manual override entries
Manual overrides to e.g. generated content or inline HTML styles to name a few;
See and edit respective files in src and then run make build install to rebuild and install the style, to test you fixes and PR back.
Make Targets
make deps: Install development dependencies intoGithub Dark/node_modulesmake build: Buildgithub-dark.user.cssmake install: Installgithub-dark.user.cssmake lint: Run lintersmake clean: Format source files
Lesser used targets include:
make authors: Regenerate theAUTHORSfile 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
Notes
- If you're using a custom domain for GitHub Enterprise, be sure to include it through a
@-moz-documentrule (Firefox) or add it to theApplies tosection in (Chrome). See
Thanks to all our contributors so far! And thanks for the shoutout on the JS Party podcast!
