twolfson / grunt-spritesmith

Grunt task for converting a set of images into a spritesheet and corresponding CSS variables
MIT License
1.14k stars 92 forks source link

stylus and spritesmith #154

Closed tutkun closed 8 years ago

tutkun commented 8 years ago

Hi, in the below i always auto-generating the _sprites@2x.styl file by grunt-spritesmith. but, retina-images not yet exists. is it not bug?

MacBook-Pro:project myMac$ grunt stylus Running "stylus:all" (stylus) task

ParseError: developer/stylus/modules/sprites@2x.styl:17:24 13| / 14| $spritesheet_width = 0px; 15| $spritesheet_height = 0px; 16| $spritesheet_image = '../../sprites/search-icons@2x.png'; 17| $spritesheet_sprites =; ------------------------------^ 18| $spritesheet = 0px 0px '../../sprites/search-icons@2x.png' $spritesheetsprites; 19| 20| /

invalid right-hand side operand in assignment, got ";" Warning: Stylus failed to compile. Use --force to continue.

twolfson commented 8 years ago

It looks like no images were found for your spritesheet. You can debug this via --verbose:

grunt sprite --verbose
twolfson commented 8 years ago

I don't understand your response. Could you rephrase it?