An opinionated Drupal base theme providing BEM style classes everywhere.
Considerations
- Prevent the need of overriding templates as much as possible.
- Provide BEM classes that are (hard)coded or refer to configuration (machine names), but never refer to content.
- Combine Drupal specific concepts into sensible BEM components (like the fields of a node when rendered in a specific view mode. For example .node-article-teaser and .node-article-teaser__image.
Known issues
- #2867302: Breaks Ajax Views. Apply patch provided in #1551534: Submit buttons themed as <button> element fail to trigger ajax in Views exposed forms to resolve this issue. (fixed in Drupal 9.3.0)