Open MakePixelsWork opened 5 years ago
Its actually not really a bug, but a limitation of Sass. Would be nice to have, but not super crucial... especially with the ease of this framework settings. To be continued.
Interpolation seems to work, but not for every compiler.
https://stackoverflow.com/questions/8608498/have-a-variable-in-images-path-in-sass
In LESS it is possible to add variables within variables and inject a variable within the path of a folder structure. I've yet to find a solution for this issue for Sass.
Its not a biggy... users are able to update a few instances of code themselves, but its would be handy of this was possible in Sass. This would improve coding a lot. You only need one place to update your framework versioning, and not -like in Font Awesome's case- five updates lines of code.
Example LESS vs Sass vars