svgtocssicons
v0.1.0
Published
Takes a bunch of SVG icons and creates CSS based icons of various specific sizes
Downloads
12
Readme
SVGtoCSSIcons
Synopsis
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
Installation
To install open a command line and run npm install svgtocssicons
Usage
To run open a command line and run grunt svgtocssicons