aboutsummaryrefslogtreecommitdiffstats
path: root/src/bem/_modifier.scss
diff options
context:
space:
mode:
authorFeuerfuchs <git@feuerfuchs.dev>2020-11-01 21:17:00 +0100
committerFeuerfuchs <git@feuerfuchs.dev>2020-11-01 21:17:00 +0100
commit344a83c702491bc3fe52b8fef2df6ab087e66df8 (patch)
tree4e068d997e9727811c9bfdf514b9446c65c189b2 /src/bem/_modifier.scss
parentReadme update, lift direct-child restriction on iro-bem-at-theme (diff)
downloadiro-sass-344a83c702491bc3fe52b8fef2df6ab087e66df8.tar.gz
iro-sass-344a83c702491bc3fe52b8fef2df6ab087e66df8.tar.bz2
iro-sass-344a83c702491bc3fe52b8fef2df6ab087e66df8.zip
Add 'state' to allowed parent contexts in iro-bem-modifier
Diffstat (limited to 'src/bem/_modifier.scss')
-rw-r--r--src/bem/_modifier.scss2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bem/_modifier.scss b/src/bem/_modifier.scss
index e1f9507..ac4cb2e 100644
--- a/src/bem/_modifier.scss
+++ b/src/bem/_modifier.scss
@@ -135,7 +135,7 @@
135 $noop: iro-context-assert-stack-count($iro-bem-context-id, $iro-bem-max-depth); 135 $noop: iro-context-assert-stack-count($iro-bem-context-id, $iro-bem-max-depth);
136 $noop: iro-context-assert-stack-must-contain($iro-bem-context-id, 'block'); 136 $noop: iro-context-assert-stack-must-contain($iro-bem-context-id, 'block');
137 137
138 $parent-context: iro-context-get($iro-bem-context-id, 'block' 'element' 'modifier' 'suffix'); 138 $parent-context: iro-context-get($iro-bem-context-id, 'block' 'element' 'modifier' 'suffix' 'state');
139 $parent-selector: map-get(nth($parent-context, 2), 'selector'); 139 $parent-selector: map-get(nth($parent-context, 2), 'selector');
140 $selector: (); 140 $selector: ();
141 $parts-data: (); 141 $parts-data: ();