From 344a83c702491bc3fe52b8fef2df6ab087e66df8 Mon Sep 17 00:00:00 2001 From: Feuerfuchs Date: Sun, 1 Nov 2020 21:17:00 +0100 Subject: Add 'state' to allowed parent contexts in iro-bem-modifier --- src/bem/_modifier.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bem/_modifier.scss') 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 @@ $noop: iro-context-assert-stack-count($iro-bem-context-id, $iro-bem-max-depth); $noop: iro-context-assert-stack-must-contain($iro-bem-context-id, 'block'); - $parent-context: iro-context-get($iro-bem-context-id, 'block' 'element' 'modifier' 'suffix'); + $parent-context: iro-context-get($iro-bem-context-id, 'block' 'element' 'modifier' 'suffix' 'state'); $parent-selector: map-get(nth($parent-context, 2), 'selector'); $selector: (); $parts-data: (); -- cgit v1.2.3-70-g09d2