Open joegaudet opened 13 years ago
I think this would be a great feature to have. Given that Abbot lets Chance supply any sprite names it wants (the files end up being called stylesheet-(sprite name).png
I believe) this is rather simple. The tricky part is figuring out the best syntax.
@include slice(file.png, $sprite: spritename)? Not sure if that's good enough.
Seems totally reasonable to me... That's about as simple as you could get no?
The only thing I could think to make it more simple would be an optional end parameter (so it wouldn't have to be named).
.joe
I would like to be able to specify the file target for the sprite so I can animate background images, and also exclude large / lazily loaded files to a different sprite.