stylesheets/_state.scss in bem-constructor-0.8.0 vs stylesheets/_state.scss in bem-constructor-0.9.0
- old
+ new
@@ -1,13 +1,13 @@
// -----------------------------------------------------------------------------
// State constructor
// -----------------------------------------------------------------------------
-$state-namespace: 'is' !default;
+$bem-state-namespace: 'is' !default;
@function _state($states...) {
$selector: ();
- $namespace: if($bem-use-namespaces, $state-namespace + '-', '');
+ $namespace: if($bem-use-namespaces, $bem-state-namespace + '-', '');
@each $state in $states {
$s: selector-append(&, '.#{$namespace}#{$state}');
$selector: append($selector, $s, 'comma');
}