- install gulp dependencies with
npm install
- open
./svg/sketch/tile.sketch
and add more artboards - artboard name becomes tile name (make sure it's exportable as svg)
- make sure color is
FF0000
- export svgs on `./svg/sketch/ folder
- now that's where magic happens: run
gulp clean && gulp svg && gulp svg2 && gulp replace && gulp make
, it will convert all svgs into an SCSS an file, with mixin included. - test your new pattern with
+tile(artboard-name, red, 10)
- do you have cool patterns to share? consider emailing me your sketch file so I can update with attribution