Skip to content

Allow custom @content to be passed into classes mixin #7

@djgrant

Description

@djgrant

Allow the custom @content to be passed into the classes mixin:

@include classes('my-selector', $on: 'tablet') {
  padding: 20px;
}

If a placeholder exists with the same selector name, both the styles of @content and %placeholder will be used.

(It's not possible to test if @content is passed so whether it's ideal or not this is the behaviour we're getting).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions