Skip to content

edge-cases #5

@runningskull

Description

@runningskull

Tracking some edge-cases here to think of nicer syntax to handle them:

selector inside pseudo-element:

// desired output
.block--mod:not(.block--othermod) { ... }

// ugly bemerald solution
@include B(block) {
  @include M(mod) {
    &:not(#{bem-selector(block, $m:othermod)}) {
      // ...
    }
  }
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions