sass-spec/spec/scope/clash/input.scss
raw| 1 | $foo: 42; |
| 2 | $bar: 43; |
| 3 | $baz: 45; |
| 4 | |
| 5 | foo { |
| 6 | foo: $foo; |
| 7 | bar: $bar; |
| 8 | baz: $baz; |
| 9 | |
| 10 | $bar: 4; // this is a different $bar than `$bar !global` |
| 11 | |
| 12 | foo: $foo; |
| 13 | bar: $bar; |
| 14 | baz: $baz; |
| 15 | |
| 16 | @if true { |
| 17 | $foo: 3; // this is a different $foo than `$foo !global` |
| 18 | $bar: 5; // this is a different $bar than `$bar !global` |
| 19 | |
| 20 | foo: $foo; |
| 21 | bar: $bar; |
| 22 | baz: $baz; |
| 23 | } |
| 24 | } |