GitHub's VS Code themes
- Go to VS Marketplace.
- Click on the "Install" button.
- Then select a theme. The GitHub themes try to match the themes available in github.com's settings:
GitHub Light Default
GitHub Light High Contrast
GitHub Light Colorblind
GitHub Dark Default
GitHub Dark High Contrast
GitHub Dark Colorblind
GitHub Dark Dimmed
Additionally, there are also two older themes. Note: They might not get updated frequently and are kept for legacy reasons:
Override this theme
To override this (or any other) theme in your personal config file, please follow the guide in the color theme documentation. This is handy for small tweaks to the theme without having to fork and maintain your own theme.
- Clone and open this repo in VS Code
yarnto install the dependencies.
F5to open a new window with your extension loaded
Code > Preferences > Color Theme[
⌘k ⌘t] and pick the "GitHub ..." theme you want to test. Note: It seems this has to be done 2x because the first time it switches back to the default light theme. This might be a bug?
- Make changes to the
- UI: For all changes to the "outer UI", like (status bar, file navigation etc.), take a look at the Theme Color reference.
- Syntax: For changes to the "code highlighting", examine the syntax scopes by invoking the
Developer: Inspect Editor Tokens and Scopescommand from the Command Palette (
Cmd+Shift+Pon Mac) in the Extension Development Host window.
yarn buildto update the theme. You can also run
yarn startinstead to automatically rebuild the theme while making changes and no reloading should be necessary.
- Once you're happy, commit your changes and open a PR.
- If possible use colors from Primer's color system.
Note: Publishing a new version of this theme is only meant for maintainers.