Open jakewski opened 4 years ago
Hello, love stylus-supremacy and really grateful for this project.
I found some weird interpolation issues when trying to add this as an autofixer for a large codebase.
$padding = 12
.class1 padding ($padding)%
gets formatted to:
$padding = 12;
.class1 { padding: $padding %; }
which doesn't compile. 2. Interpolated mixin
text-blue() color blue
.class1 text-{'blue'}() transform ($padding)ms
turns into
.class1 text-{'blue'} transform $padding ms
and if you run it again, it turns into:
.class1 text-
transform $padding ms
Thanks in advance for your time. Again, love this project
Hello, love stylus-supremacy and really grateful for this project.
I found some weird interpolation issues when trying to add this as an autofixer for a large codebase.
.class1 padding ($padding)%
$padding = 12;
.class1 { padding: $padding %; }
text-blue() color blue
.class1 text-{'blue'}() transform ($padding)ms
text-blue() color blue
.class1 text-{'blue'} transform $padding ms
text-blue() color blue
.class1 text-
transform $padding ms