aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2020-11-01 21:11:47 +0100
committerFeuerfuchs <git@feuerfuchs.dev>2020-11-01 21:11:47 +0100
commit2a42ac16b9a705b2c5b369e0c55867cd568f7e8f (patch)
treebf61f079618e3a61a2a4836367d0fa235996d5ec /src
parentInit (diff)
downloadiro-sass-2a42ac16b9a705b2c5b369e0c55867cd568f7e8f.tar.gz
iro-sass-2a42ac16b9a705b2c5b369e0c55867cd568f7e8f.tar.bz2
iro-sass-2a42ac16b9a705b2c5b369e0c55867cd568f7e8f.zip
Readme update, lift direct-child restriction on iro-bem-at-theme
Diffstat (limited to 'src')
-rw-r--r--src/bem/_theme.scss6
1 files changed, 3 insertions, 3 deletions
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 @@
45 $parent-context: iro-context-get($iro-bem-context-id, 'block'); 45 $parent-context: iro-context-get($iro-bem-context-id, 'block');
46 $parent-selector: map-get(nth($parent-context, 2), 'selector'); 46 $parent-selector: map-get(nth($parent-context, 2), 'selector');
47 47
48 @if not iro-selector-suffix-match(&, $parent-selector) { 48 //@if not iro-selector-suffix-match(&, $parent-selector) {
49 @error 'An at-theme rule must be an immediate child of a block'; 49 // @error 'An at-theme rule must be an immediate child of a block';
50 } 50 //}
51 51
52 $selector: iro-bem-theme-selector($name, $names...); 52 $selector: iro-bem-theme-selector($name, $names...);
53 $selector: selector-nest($selector, &); 53 $selector: selector-nest($selector, &);