diff options
author | Feuerfuchs <git@feuerfuchs.dev> | 2020-11-01 21:11:47 +0100 |
---|---|---|
committer | Feuerfuchs <git@feuerfuchs.dev> | 2020-11-01 21:11:47 +0100 |
commit | 2a42ac16b9a705b2c5b369e0c55867cd568f7e8f (patch) | |
tree | bf61f079618e3a61a2a4836367d0fa235996d5ec /src/bem | |
parent | Init (diff) | |
download | iro-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/bem')
-rw-r--r-- | src/bem/_theme.scss | 6 |
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, &); |