Skip to content

Modules matching other modules' components with same names #4

@opr

Description

@opr

Hi, if I have a module container

@include module(container) {
  background: red;
}

and then another module hero

@include module(hero) {

  @include component(background-container) {

    @include is(desktop) {
      margin: 10px auto;
    }
  }
}

the generated CSS:

.container, [class*=container--] {
    background: red;
}

also affects my div named thus: <div class="hero__background-container--desktop">

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions