1 | @import "restyle";
|
2 |
|
3 | @include restyle-define(test, (
|
4 |
|
5 | restyle-modifiers: (
|
6 | debug: (
|
7 | restyle-debug: "debugging",
|
8 | ),
|
9 | deprecated: (
|
10 | restyle-deprecated: "deprecated test is deprecated"
|
11 | ),
|
12 | warn: (
|
13 | restyle-warn: "this is a warning"
|
14 | ),
|
15 | once: (
|
16 | restyle-debug-once: "should only log once"
|
17 | )
|
18 | )
|
19 | ));
|
20 |
|
21 | .test {
|
22 | &.debug {
|
23 | @include restyle(debug test);
|
24 | }
|
25 |
|
26 | &.deprecated {
|
27 | @include restyle(deprecated test);
|
28 | }
|
29 |
|
30 | &.warn {
|
31 | @include restyle(warn test);
|
32 | }
|
33 |
|
34 | &.once {
|
35 | @include restyle(once test);
|
36 | @include restyle(once test);
|
37 | @include restyle(once test);
|
38 | @include restyle(once test);
|
39 | @include restyle(once test);
|
40 | }
|
41 | }
|