Converts and encodes Sketch exported icons into css at target sizes. The script parses the file name to get the target sizes separated by comma at the end of the file name
sample plus-12,24,48,96.svg
- will be converted into 4 css classes
- .o-icon-plus-12
- .o-icon-plus-24
- .o-icon-plus-48
- .o-icon-plus-96
To install open a command line and run npm install svgtocssicons
To run open a command line and run grunt svgtocssicons