chriseppstein/compass — Issue #723: Sprite mixin does not honor config image folder value
Author: bonnerk
Created: 2012-02-16 16:39:58+00:00
State: open

Hello!

I found that using both the following sprite import method:
`@import "icons/*.png"
@include all-icons-sprites`

as well as the compass command line equivalent `compass sprite "icons/*.png"` does not honor my custom image folder name `"img/"`. It instead searches for the sprite PNG inside the path starting with `"images/"`.

The sprite image DOES save to the correct folder (in my case `"img"`) but the generated CSS does not point there. It points to `"images"`.

example from my generated CSS:
`/* line 183, icons */
.icons-sprite, .icons-accept, ... {
background: url('/images/icons-s45be9254d5.png') no-repeat;
}`