This theme utilises a theme builder that is based on YAML. The theme builder can be initialised by running the following command:
npm run start
The src/config.ts file exports an object with the following attributes:
colors is an object containing key-value pairs used for search and replace (i.e. any occurrences of the keys in the theme definition will be replaced with those keys' corresponding values). It is worth noting that this allows 8-digit hex codes to be used while only having to define the equivalent 6-digit hex code. An example is shown below.
Notice that the last 2 digits in the 8-digit hex code are preserved.
inputPath is a path to the input folder containing the YAML files used for theming.
outputPath is a path to the output folder that serves as the destination for generated JSON files. (NOTE: the output path must also be defined in the contributes.themes.path attribute of the package.json).
The theme can be built by running the following command:
npm run build
The built theme can be imported into VS Code by copying the package.json and the output folder that contains the generated JSON files, into VS Code's extensions folder.