myheats-website

Website for myheats
git clone https://git.in0rdr.ch/myheats-website.git
Log | Files | Refs | Pull requests |Archive | README | LICENSE

_gradient-positions-parser.scss (480B)


      1 @function _gradient-positions-parser($gradient-type, $gradient-positions) {
      2   @if $gradient-positions
      3   and ($gradient-type == linear)
      4   and (type-of($gradient-positions) != color) {
      5     $gradient-positions: _linear-positions-parser($gradient-positions);
      6   }
      7   @else if $gradient-positions
      8   and ($gradient-type == radial)
      9   and (type-of($gradient-positions) != color) {
     10     $gradient-positions: _radial-positions-parser($gradient-positions);
     11   }
     12   @return $gradient-positions;
     13 }