1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
| @forward './constants';
|
| @mixin b($block) {
| $B: $namespace + '-' + $block !global;
|
| .#{$B} {
| @content;
| }
| }
|
| @mixin e($name) {
| @at-root {
| &#{$element-separator}#{$name} {
| @content;
| }
| }
| }
|
| @mixin m($name) {
| @at-root {
| &#{$modifier-separator}#{$name} {
| @content;
| }
| }
| }
|
| // block__element.is-active {}
| @mixin is($state, $prefix: $state-prefix) {
| @at-root {
| &.#{$prefix}-#{$state} {
| @content;
| }
| }
| }
|
|