I recently rewrote the code for this theme.
I'm in the process of updating this page accordingly.
The code is split up (mainly by language) into individual TypeScript files, which live in src/theme/shared
.
So if you wanted to see the Ruby rules, for example, those are in src/theme/shared/languages/ruby.js
.
The language rules are exported as a single array from src/theme/shared/languages/index.ts
.
Those files are imported, merged, and written out to dist/themes/dark-plus-syntax-color-theme.json
- Clone the project
- Run
npm install
to install development dependencies. - Run
npm run build
to build the theme file with the new changes.
It'll be helpful to install the Highlight plugin.
There are local vscode settings that configure it to color specific TypeScript constants to match the color values they represent.