jaywcjlove / svgtofont

Read a set of SVG icons and ouput a TTF/EOT/WOFF/WOFF2/SVG font.
https://jaywcjlove.github.io/svgtofont
MIT License
515 stars 81 forks source link

how can i add my styles to the template page? #197

Open DavidHalkin opened 1 year ago

DavidHalkin commented 1 year ago

Hello. I really need the font to be displayed both in my project itself and in the folder with fonts where your template is generated with examples of icons. due to the fact that I change the cssPath in the fonts folder, the icons themselves are not displayed. is it possible to make it so that I can add after your styles in index.ejs without changing either your index.ejs or creating my own?

jaywcjlove commented 1 year ago

Currently only the ejs template can be replaced.

https://github.com/jaywcjlove/svgtofont/blob/5c514f1ecb99f3c66f85637eb70f362d4473d993/src/index.ts#L168