From 2a42ac16b9a705b2c5b369e0c55867cd568f7e8f Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Sun, 1 Nov 2020 21:11:47 +0100 Subject: Readme update, lift direct-child restriction on iro-bem-at-theme --- src/bem/_theme.scss | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/bem') diff --git a/src/bem/_theme.scss b/src/bem/_theme.scss index b4bcc76..a49981c 100644 --- a/src/bem/_theme.scss +++ b/src/bem/_theme.scss @@ -45,9 +45,9 @@ $parent-context: iro-context-get($iro-bem-context-id, 'block'); $parent-selector: map-get(nth($parent-context, 2), 'selector'); - @if not iro-selector-suffix-match(&, $parent-selector) { - @error 'An at-theme rule must be an immediate child of a block'; - } + //@if not iro-selector-suffix-match(&, $parent-selector) { + // @error 'An at-theme rule must be an immediate child of a block'; + //} $selector: iro-bem-theme-selector($name, $names...); $selector: selector-nest($selector, &); -- cgit v1.2.3-70-g09d2