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