twitter/bootstrap — Issue #2083: Icons variables in sprites.less doesn't work in browser
Author: pnedonosko
Created: 2012-02-19 19:25:57+00:00
State: open

Compilation of Bootstrap (2.0.1) with LESS in browser (FF6, Chrome17) silently doesn't work.
But all compiles well locally with _lessc_.
Problem comes from _sprites.less_. It is even not in not existing images, I didn't copy them to my webapp files (BTW it is not obvious from the docs that I need them - it's also a doc issue).
Problem seems in paths used in _stripes.less_ for background images:
```
background-image: url(@iconSpritePath);
...
background-image: url(@iconWhiteSpritePath);
```
If I'll replace variables with some strings (can be not valid path), all will compile well in the browsers.

Maybe it is related to [this pull request] (https://github.com/twitter/bootstrap/pull/2063) and issue #1313. I have checked the master today (Feb 19, 2012), the problem exists.
Also, seems this issue can be fixed by #966.

Thank you.