UNPKG

341 BSCSSView Raw
1@import "restyle";
2
3@include restyle-define(test, (
4 restyle-var(foo): foo,
5 restyle-var(bar): 5,
6 restyle-var-constraints: (
7 foo: (
8 one-of: (1, 2, 3)
9 ),
10 bar: (
11 one-of: (4, 5, 6)
12 )
13 ),
14 bar: restyle-var(bar), // should be fine
15 foo: restyle-var(foo) // should error
16));
17
18.test {
19 @include restyle(test);
20}