The GitHub syntax theme generator will generate themes for multiple platforms based on the GitHub syntax theme.
All of the built themes in this package are distributed at separate repositories. It's recommended that you install one of these if you're looking for a specific theme.
The CSS syntax theme is based on a custom syntax highlighter in use by GitHub. The prefixes to the classes are .pl-
for Prettylights.
The Codemirror syntax theme is generated by the codemirror adapter.
The Atom theme is built by apm
converted from the TextMate theme.
For TextMate or any other TextMate compatible editors, you can use the github-textmate-theme.
Clone this repository and after npm install
. Run
$ npm run build
This will run the script that will build all the themes. The themes are built from the json
files in the lib/themes
folder.
The theme adapters are located in ./lib/adapters/
directory. Each one will complete a specific task to build that theme.
If you would like to see the theme compiled for another platform, we welcome pull requests.