Closed mzdunek93 closed 4 years ago
We chatted about this offline, but I'm not actively interested in changing this repo fundamentally and the constraints of the font icons help keep the style which this theme is known for. ~200 lines of coffeescript and a gulp file is fine to maintain.
I decided to display all the icons as SVGs which are much more flexible and less buggy than font icons. The SVGs in the source code now aren't the ones included in the theme itself, but they undergo automatic optimization, cropping, and color normalization. Run
npm run build
to transpile TS and prepare SVG icons, thennpm run vs-theme
to prepare VS icons and theme file. Optionally you can also run thewatch
command to watch for changes in TS sources, SVG sources, CSS variables and mappings.