This tool converts all rules from the vowl.css
file into javascript code that can be executed to
inline the styles. This is required because otherwise the exported SVG files won't have any styles.
This should be integrated into the build process so it won't be overlooked.
- Run
npm install
in the root directory of this project to install the dependency which processes the css code. - Run it with
node code.js
to receive the javascript code which can inline and remove the styles. - Insert the two code blocks into the matching functions in the
exportMenu.js
file.