Hacker News new | ask | show | jobs
by hire_charts 3797 days ago
Agreed. There is no need to use a custom flavor of BEM.

You might be able to enforce a distinction between elements and modifiers (with elements nested below parents, while modifiers are siblings of the elements they modify) like so:

  .accordion {
    .accordion-item { }
    .accordion-item-selected { }
  }
But this requires nesting where true BEM otherwise avoids it.