gulp.spritesmith example for http://twolfson.com/2015-04-21-retina-sprites-are-here!
The following steps will get this repo setup and running with our build:
# Clone the repository
git clone https://gist.github.com/860a1d47e483bc34e1fa.git gist-gulp.spritesmith-retina
cd gist-gulp.spritesmith-retina/
# Install our dependencies
npm install
# Run our build steps
# DEV: If we leverage `npm-run-script`, we can remove `./node_modules/.bin/`
./node_modules/.bin/gulp sprite
./node_modules/.bin/gulp sass
GitHub and Twitter icons were taken from Alex Peattie's JustVector Social Icons.
Fork designed by P.J. Onori from The Noun Project
Can you explain this part:
@include retina-sprites($retina-groups);
Which mixin is this? It doesn't seem as though spritesmith generates includes for the retina .png.