Skip to content

Add option for @apply syntax #10

@michaelcpuckett

Description

@michaelcpuckett

According to this video, the Polymer team at Google has been working with the CSS standards body to add the ability to @apply a group of properties, as you would @include a Sass @mixin.

Here's the syntax:

--ui-message-header-theme: {
    color: #297187;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 7px;
};
.header {
    @apply(--ui-message-header-theme)
}

If I were interested in using this functionality, do you think it would make sense to add it here, or to a different plugin, or should it be a separate plugin?

Cheers.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions