We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take this Scss example:
.foo { content: "he#{'ll'}o"; position: abs#{'ol'}ute; }
Right now it converts to a code that throws an error:
.foo content: "he{"ll"}o" position: abs{"ol"}ute
While we'd need to convert it into something like this:
.foo content: "he" + 'll' +"o" position: unquote('abs' + "ol" + 'ute')
(there could be other cases with the interpolation I didn't cover there though)
The text was updated successfully, but these errors were encountered:
thanks @kizu
Sorry, something went wrong.
Here's another example of an interpolation error:
original.scss
@mixin circle-animation-details($name){ #{$name}animation-name: spin; #{$name}animation-duration: 1250ms; #{$name}animation-iteration-count: infinite; #{$name}animation-timing-function: linear; }
output.styl
circle-animation-details($name) {(interpolation nil $name nil), "animation-name"}: spin {(interpolation nil $name nil), "animation-duration"}: 1250ms {(interpolation nil $name nil), "animation-iteration-count"}: infinite {(interpolation nil $name nil), "animation-timing-function"}: linear
correct.styl
circle-animation-details($name) {'$name' + 'animation-name'}: spin {'$name' + 'animation-duration'}: 1250ms {'$name' + 'animation-iteration-count'}: infinite {'$name' + 'animation-timing-function'}: linear
No branches or pull requests
Take this Scss example:
Right now it converts to a code that throws an error:
While we'd need to convert it into something like this:
(there could be other cases with the interpolation I didn't cover there though)
The text was updated successfully, but these errors were encountered: