Debian Codegraph @

sass-spec/spec/output_styles/nested/scss/each_in_functions/input.scss

raw
1 $GLOBAL: global;
2
3 @function foo($g1, $g2, $g3) {
4 @each $value in $g1, $g2, $g3 {
5 $GLOBAL: $GLOBAL each $value !global;
6 $GLOBAL: $GLOBAL type1 type-of(nth($value, 1)) !global;
7 $GLOBAL: $GLOBAL type2 type-of(nth($value, 2)) !global;
8 }
9 @each $value in (foo: foo, bar: bar) {
10 $GLOBAL: $GLOBAL map $value !global;
11 }
12 @return 0;
13 }
14
15 div {
16 a: foo(50% 50%, cover circle, red blue);
17 b: $GLOBAL;
18 $colors: red green blue;
19 c: a, b, type-of(nth($colors, 2)), d;
20 }