1 | @import "restyle";
|
2 |
|
3 |
|
4 | @include restyle-define(test, (
|
5 | test: true
|
6 | ));
|
7 |
|
8 | @mixin test() {
|
9 | @include restyle(test);
|
10 | test: false;
|
11 | }
|
12 |
|
13 | .default {
|
14 | @include test();
|
15 | }
|
16 | .force-new-context {
|
17 | @each $value in (true false) {
|
18 | &--#{$value} {
|
19 | @include restyle-with-config(force-new-context, $value) {
|
20 | @include test();
|
21 | }
|
22 | }
|
23 | }
|
24 | }
|