Skip to content

Elem mixin should be able to be nested inside a Mod #7

Description

@runningskull

Right now we don't support mods nested inside elements, but instead prefer the syntax @include Elem(myelem, mymod), but this is overly restrictive. One issue is that it puts pressure on authors to break out elements into top-level blocks, since the syntax is cleaner - especially if the element has a few modifiers, or has modifiers you want to include programmatically (ie. in a @each ... or similar)

We should support @include Elem(myelem) { @include Mod(mymod) { ... }} syntax for element-modifiers.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions