Skip to content

StylishThemes/GitHub-Dark

Repository files navigation

githubdark-logo
Version Stars Forks devDependencies Gitter

Your eyes willΒ :heart:Β you.

TOC

Preview

Preview of GitHub Dark

Installation

  1. Install Stylus for Firefox, Chrome, Opera or Cascadea for Safari.
  2. Install github-dark.user.css.
  3. Set GitHub itself to dark mode.

Additional Userstyles

βš™οΈ GitHub Custom Fonts
βš™οΈ GitHub Blog Dark
βš™οΈ GitHub Code Wrap
βš™οΈ GitHub Commit Limit
βš™οΈ GitHub Community Dark - Now part of Discourse Dark
βš™οΈ GitHub Compact Feed
βš™οΈ GitHub Dark Calendar Color Customizer
βš™οΈ GitHub Dark Diff Color Customizer
βš™οΈ GitHub Dark Element Borders
βš™οΈ GitHub Dark IMG Background Color
βš™οΈ GitHub Feed Icons
βš™οΈ GitHub FixedHeader
βš™οΈ GitHub Selected Tab Color
βš™οΈ GitHub Sticky Sidebar
βš™οΈ GitHub Tab Size
βš™οΈ GitHub Custom Border Radii
βš™οΈ GitHub Dark Custom Blame usercss
βš™οΈ GitHub Upstream BugFixes usercss
βš™οΈ Overlay Scrollbars

Supported GitHub Extensions

πŸ’Ύ Gitako
πŸ’Ύ GitHub Notifications Dropdown
πŸ’Ύ GitHub Polls
πŸ’Ύ Lovely forks
πŸ’Ύ Notifications Preview for GitHub
πŸ’Ύ OctoLinker
πŸ’Ύ Octotree
πŸ’Ύ Refined GitHub
πŸ’Ύ Sourcegraph Browser Extension
πŸ’Ύ ZenHub

Available Syntax Highlighting Themes (Demo)

Theme GitHub CodeMirror Jupyter
Ayu Mirage βœ”οΈ ❌ ❌
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...

  1. fork Fork
  2. Make sure you have these installed:
  • node: version 14 or greater with npm
  • make: available with UNIX-like OS, on Windows you can use this
  1. 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.

Auto-generated CSS

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 override entries

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 targets

  • make deps: Install development dependencies into Github Dark/node_modules
  • make build: Build github-dark.user.css
  • make install: Install github-dark.user.css
  • make lint: Run linters
  • make clean: Format source files

Lesser used targets include:

  • make authors: Regenerate the AUTHORS file based on git history
  • make update: Update dependencies
  • make: Alias for make build

Internal use only targets include:

  • make patch: Increment the patch version, create a commit and push it
  • make minor: Increment the minor version, create a commit and push it
  • make 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-document rule (Firefox) or add it to the Applies to section in (Chrome).

Thanks to all our contributors so far! And thanks for the shoutout on the JS Party podcast!

⬆️ UP