Closed onlywei closed 8 years ago
If I'm using https://github.com/postcss/postcss-simple-vars, and my code looks like:
$myColor: rgb(36, 72, 99); .foo { color: color($myColor, a(90%)); }
And I run my postcss-simple-vars processor before this one, shouldn't it transform into:
postcss-simple-vars
.foo { color: color(rgb(36, 72, 99), a(90%)); }
Any reason why it wouldn't work from here?
OK I figured it out. I'm not supposed to use a comma between the color and a(90%)
a(90%)
If I'm using https://github.com/postcss/postcss-simple-vars, and my code looks like:
And I run my
postcss-simple-vars
processor before this one, shouldn't it transform into:Any reason why it wouldn't work from here?