Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Support for CSS @apply Rule - Error: no writecb in Transform class #213

Closed
JosefJezek opened this issue Sep 13, 2015 · 4 comments
Closed

Comments

@JosefJezek
Copy link

How to resolve this error? We need for Polymer Themes.

I define mixin using @apply rule for <paper-menu> element.

.navigation {
  --paper-menu-selected-item: {
    color: var(--default-primary-color);
  };
}

-> Error: no writecb in Transform class

Thank you

@MoOx
Copy link
Owner

MoOx commented Sep 13, 2015

@apply is not yet supported yet in cssnext. We need to upgrade to postcss v5 since https://github.com/pascalduez/postcss-apply need v5 parser.
Closing in favor of #203

@MoOx MoOx closed this as completed Sep 13, 2015
@JosefJezek
Copy link
Author

@apply rule is implemented in Polymer using JS. How to pass or ignore this error by parse css?

@MoOx
Copy link
Owner

MoOx commented Sep 14, 2015

You need to wait for #202 for now which is blocked by iamvdo/pleeease-filters#12

@zliebersbach
Copy link

I've still got the issue with the latest version.. Any updates on resolving this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants