1 | @import "restyle";
|
2 |
|
3 | @include restyle-define(test, (
|
4 | test1: true,
|
5 |
|
6 | restyle-modifiers: (
|
7 | 'within a test2': (
|
8 | within-test2: true
|
9 | ),
|
10 | 'within a test3': (
|
11 | within-test3: true
|
12 | )
|
13 | )
|
14 | ));
|
15 |
|
16 | @include restyle-define(test2);
|
17 | @include restyle-define(test3);
|
18 |
|
19 | @mixin test {
|
20 | .test {
|
21 | @include restyle(test);
|
22 | }
|
23 | }
|
24 |
|
25 | .test2 {
|
26 | @include restyle(test2) {
|
27 | @include test;
|
28 |
|
29 | &.test3 {
|
30 | @include restyle(test3) {
|
31 | @include test;
|
32 | }
|
33 | }
|
34 | }
|
35 | }
|
36 |
|
37 | .test3 {
|
38 | @include restyle(test3) {
|
39 | @include test;
|
40 | }
|
41 | }
|