svgtocssicons

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i svgtocssicons

Weekly Downloads

1

Version

0.1.0

License

ISC

Last publish

Collaborators

  • srouse