1 | @import 'restyle';
|
2 |
|
3 | @include restyle-config(smart-content-enabled, true);
|
4 |
|
5 | %extend-test {
|
6 | extended: true;
|
7 | }
|
8 |
|
9 | @include restyle-add-state((
|
10 | hover: '&:hover, &.hover, &:focus, &.focus'
|
11 | ));
|
12 |
|
13 | @include restyle-define(test, (
|
14 | color: red,
|
15 | height: 100%
|
16 | ));
|
17 |
|
18 | @include restyle-define(test2, (
|
19 | color: red,
|
20 | height: 100%
|
21 | ));
|
22 |
|
23 |
|
24 |
|
25 | .should-be-test {
|
26 | @include restyle(test);
|
27 | }
|
28 |
|
29 | .should-be-test2 {
|
30 | @include restyle(test2);
|
31 | }
|