Skip to content
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

[0.9.1] Regression in styling with custom css mixins #1601

Closed
cedric-marcone opened this issue May 23, 2015 · 2 comments
Closed

[0.9.1] Regression in styling with custom css mixins #1601

cedric-marcone opened this issue May 23, 2015 · 2 comments

Comments

@cedric-marcone
Copy link
Contributor

Hi,
I don't know if it's on purpose because I can't keep up with the flow of recent commits but, in 0.9.0, passing multiple mixins to @apply used to work like a charm :

.class {
  @apply(--layout-horizontal --layout-center);
}

In 0.9.1, styles are not applied until you split the declaration with multiple @apply :

.class {
  @apply(--layout-horizontal);
  @apply(--layout-center);
}
@sorvell
Copy link
Contributor

sorvell commented May 23, 2015

Yup, this was done on purpose. Sorry for the churn.

We decided to leave room inside the parens (...) for future more interesting enhancements to the syntax.

As you discovered, you'll need to use multiple @apply properties.

@sorvell sorvell closed this as completed May 23, 2015
@cedric-marcone
Copy link
Contributor Author

Thanks for the feedback.
Exciting times ahead !
I can't wait for the Google IO ;)

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

No branches or pull requests

2 participants