GitHub Dark Mode theme for Visual Studio Code based on the actual CSS colors from github.com.
- Go to Visual Studio Marketplace
- Search for GitHub Dark Mode
- Click on "Install"
If you want to contribute to this theme, you can run the theme locally by following these steps:
- Clone this repository to your machine
- Run
yarn
at the root of this repository - Start building the theme by running
yarn dev
- Press F5 on VSCode to start a new window using this theme
You can then make modifications to the theme and you should see your changes in real time.
The GitHub colors are extracted from github.com using the script scripts/scrape-github-colors.js
. To update the color palette, do the following:
- Go to some repository in GitHub using Chrome
- Open the development tools
- Copy-paste the code from
scripts/scrape-github-colors.js
to the console - Paste the color palette to
src/github-colors.ts
- Make sure the colors are sorted alphabetically to make diffs clean