stylesheets/_theme.scss in bem-constructor-0.1.1 vs stylesheets/_theme.scss in bem-constructor-0.2.0
- old
+ new
@@ -12,11 +12,13 @@
$selector: ();
$namespace: if($bem-use-namespaces, $bem-theme-namespace + '-', '');
@each $theme in $themes {
- $t: selector-nest('.#{$namespace}#{$theme}', &);
- $selector: append($selector, $t, 'comma');
+ @each $sel in & {
+ $t: selector-nest('.#{$namespace}#{$theme}', $sel);
+ $selector: append($selector, $t, 'comma');
+ }
}
$set-current: set-current-context('theme', $themes, $selector);
@return $selector;