All notes
Gulp

gulp.spritesmith

npmjs.com: gulp.spritesmith.

Config

cssVarMap



// Prefix all sprite names with `sprite-` (e.g. `home` -> `sprite-home`)
cssVarMap: function (sprite) {
  sprite.name = 'sprite_' + sprite.name;
}
 
// Generates:
// $sprite_fork_x = 0px;
// $sprite_fork_y = 0px;
 
// As oppposed to default:
// $fork_x = 0px;
// $fork_y = 0px;