sass-spec/spec/output_styles/compact/scss/directives-in-propsets/input.scss
raw| 1 | $color: red; |
| 2 | $position: 50%; |
| 3 | $x: 0; |
| 4 | |
| 5 | @mixin foo() { |
| 6 | image: url(foo.png); |
| 7 | } |
| 8 | |
| 9 | div { |
| 10 | background: { |
| 11 | something: { |
| 12 | color: green; |
| 13 | } |
| 14 | @if (type-of($color) == "color") { |
| 15 | color: $color; |
| 16 | } |
| 17 | @if (type-of($position) == "number") { |
| 18 | position: $position; |
| 19 | @include foo(); |
| 20 | } |
| 21 | groo: foo; |
| 22 | } |
| 23 | width: $x; |
| 24 | } |