New issue
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
Parse error for Polymer @apply #9
Comments
The hacks in less/less.js#2715 seem to work but makes things quite ugly. |
Sorry, as far as know @apply yet isn't supported in lessc js. |
Sure but can less_dart support it? |
Polymer defines mixins as: Possibly could implement a pass-throw for @apply in the lessc directive system. But the mixin definition is more complex to parse and must be in a css file, external to lessc. Could this be a solution for you? |
I think I could live with that. Would be great if it could parse inside the mixin for stuff like px to em's but not sure how hard that would be. |
Just wanted to note that it was super easy to get less_dart up and running. Really great stuff you have here. The polymer stuff is all new so I expect some hiccups but everything looks good. |
Could you try the new version? |
worked great! Thanks @AdalbertoLacruz. |
I'm glad to hear that. It´s time to upgrade pub. |
Currently the parser fails if you attempt to use the Polymer 1.0 mixins. See https://www.polymer-project.org/1.0/docs/devguide/styling.html.
Attempting to use it results in
The text was updated successfully, but these errors were encountered: