primer / github-syntax-theme-generator

Uses a prettylights theme object to generate syntax themes for multiple platforms
MIT License
156 stars 33 forks source link

Add adapter for Visual Studio Code #54

Closed bojand closed 7 years ago

bojand commented 7 years ago

Might be useful to have the official GitHub syntax theme for Visual Studio Code.

The adapter generates 2 files:

./build/vscode/github-dark/GitHub Dark.json
./build/vscode/github-light/GitHub Light.json

The mappings come from their own theme converter.

The output is basically identical to what their own yeoman generator produces when importing and converting the github-textmate-theme thTheme files.

Hope the code style is good. All tests pass.

Thanks,

Bojan

jonrohan commented 7 years ago

This is really awesome thanks! I'll merge this in and host a couple of new repositories for the themes.