I'm trying to generate some sprites with SASS Compress where I want to apply the smart layout to the sprite file like the docs http://compass-style.org/help/tutorials/spriting/sprite-layouts/
This works great:
$sprites: sprite-map("sprite/*.png", $spacing: 20px);
But when I add layout it breaks; no spacing and no smart layout:
$sprites: sprite-map("sprite/*.png", $layout: smart, $spacing:
How can I apply the smart layout to the generated sprite?
Update After some time I got this to work:
$sprite-spacing: 20px;
$sprite-layout: smart;
@import "sprite/*.png";
@include all-sprite-sprites;
But now I can't get the spacing to work. The sprite is smart but with no spacing.