Skip to content

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

Description

@cedric-marcone

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);
}

Activity

  1. sorvell commented on May 23, 2015

    @sorvell
    Contributor

    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.

  2. cedric-marcone commented on May 23, 2015

    @cedric-marcone
    ContributorAuthor

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions