Ответ 1
Это работает:
@include all-<map>-sprites(true);
Но вы можете рассмотреть документированный способ использования переменных конфигурации:
http://compass-style.org/help/tutorials/spriting/
Вы просто указываете переменную конфигурации перед импортом. В вашем случае:
$ico-sprite-dimensions: true;
@import "ico/*png".
@include all-ico-sprites;
Отправка true
во все включенные работы, но поскольку она недокументирована, кажется, что предпочтительными являются параметры конфигурации.
Помимо размеров, это другие доступные переменные конфигурации:
$<map>-spacing // space in px around the sprites
$<map>-repeat // whether to repeat the sprite bg
$<map>-position // the x position of the sprite on the map
$<map>-sprite-base-class // the base class (default ".<map>-sprite")
$<map>-clean-up // whether to delete old image maps
$<map>-<sprite>-spacing // spacing, for individual sprites
$<map>-<sprite>-repeat // repeat, for individual sprites
$<map>-<sprite>-position // position, for individual sprites