Claudius
9 years agoBoss
SASS interpolation supported?
Working on some page styling I would like to include resources that are part of an external framework with it's own versioning scheme. In order to be able to quickly switch the version I have a variable defined in our _variables.scss
$assets_path: "https://myassets.example.com/framework/2.0.418";
..and then would like to reference it in the component's SCSS file via (highlighted in bold):
background: url(#{$assets_path}/img/logo-sprite.svg) -123px 0 no-repeat;
Unfortunately Lithium is responding with "An Unexpected Error has occurred."
Is SASS interpolation supported by Lithium?
Or am I using it wrongly?
Documentation on SASS interpolation: http://sass-lang.com/documentation/file.SASS_REFERENCE.html#interpolation_