livestyle / issues

Report all your LivesStyle issues here
24 stars 1 forks source link

Unable to pass variables to mixin parameters #127

Closed ethaksus closed 8 years ago

ethaksus commented 8 years ago

I've notice that LS's processor is unable to pass variables into mixins and then generates the rules wrong.

SCSS Input:

$c: red;

@mixin foo($a) {
color: $a;
}

.bar {
@include foo($c);
}

CSS Output:

.bar {
color: $a;
}

While it should output:

.bar {
color: red;
}
sergeche commented 8 years ago

Confirmed. A bit weird issue in such simple case... :confused:

ethaksus commented 8 years ago

Where is this closed? The commit hash doesn't link to anything?

sergeche commented 8 years ago

Fixed it in LiveStyle core, which is a private repo