1 | @import "restyle";
|
2 |
|
3 | @include restyle-define(foo, (
|
4 | foo: true
|
5 | ));
|
6 |
|
7 | @include restyle-define(test, (
|
8 | color: red,
|
9 | ".foo": (
|
10 | width: 500px
|
11 | ),
|
12 | "@media": (
|
13 | "only screen and (max-width: 330px)": (
|
14 | ".foo": (
|
15 | restyle: foo,
|
16 | width: 100%
|
17 | )
|
18 | )
|
19 | )
|
20 | ));
|
21 |
|
22 | .test {
|
23 | @include restyle(test);
|
24 | }
|