nex3/sass — Issue #279: Variables in @import
Author: Snugug
Created: 2012-02-15 16:15:33+00:00
State: open

Currently when using @import, you need to hardcode in uri. I'd like the ability to pass in a variable/function call to get the uri and use that for the @import call, something like the following:

```@function drupal-theme($project, $append: '') {
@return /sites/all/themes/#{$project}/#{$append};
}
…
@import #{drupal-theme('my-theme', 'sass/style)};
```
Which would be the same as:
```@import '/sites/all/themes/my-theme/sass/style';```