Debian Codegraph @

sass-spec/spec/libsass/bourbon/lib/functions/_radial-gradient.scss

raw
1 // This function is required and used by the background-image mixin.
2 @function radial-gradient($G1, $G2,
3 $G3: false, $G4: false,
4 $G5: false, $G6: false,
5 $G7: false, $G8: false,
6 $G9: false, $G10: false,
7 $pos: null,
8 $shape-size: null) {
9
10 $data: _radial-arg-parser($G1, $G2, $pos, $shape-size);
11 $G1: nth($data, 1);
12 $G2: nth($data, 2);
13 $pos: nth($data, 3);
14 $shape-size: nth($data, 4);
15
16 $type: radial;
17 $gradient: compact($G1, $G2, $G3, $G4, $G5, $G6, $G7, $G8, $G9, $G10);
18
19 $type-gradient: $type, $shape-size $pos, $gradient;
20 @return $type-gradient;
21 }
22
23