- install gulp dependencies with
npm install - open
./svg/sketch/tile.sketchand 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
-
Notifications
You must be signed in to change notification settings - Fork 0
praxisnyc/tile
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published