You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$nested: bem--contains-pseudo($this) or bem--contains-mod($this);
212
+
213
+
$mod: $m or $mod;
214
+
$mx: ();
215
+
209
216
@if$this=='' {
210
217
@error'Detected an Element that is not inside a Block: #{$elem}';
211
218
}
219
+
212
220
@ifbem--contains-elem($this) {
213
221
@error'Detected a multi-level nested Element (#{$this}#{$elem})! Bemerald doesn\'t support nested ' + 'elements because they do not have BEM nature (www.getbem.com/faq/#css-nested-elements). ' + 'If you must do it, use a hardcoded selector like &__subsubelem ';
214
222
}
215
-
$mod: $m or $mod;
216
-
$block: bem--extract-block($this);
217
-
$first: bem--extract-first-selector($this);
218
-
@ifnot (bem--contains-pseudo($this) or bem--contains-mod($this)) {
0 commit comments