postcss-easing-gradients icon indicating copy to clipboard operation
postcss-easing-gradients copied to clipboard

BUG: Multiple backgrounds fails with wrong generated syntax of 1st

Open 7iomka opened this issue 4 years ago • 0 comments

$bg-color: #181818;

$gradient-primary-raw: linear-gradient(
  0deg,
  $color-primary,
  $color-primary2
);

background-image: linear-gradient(to right, $bg-color, $bg-color), $gradient-primary-raw;

generate this background-image: linear-gradient(0deg; #181818; #181818), ...correct second gradient here...

Expected code background-image: linear-gradient(0deg, #181818, #181818), ...correct second gradient here...

How to fix that? I mean, what plugin replace , with ; ??? That occurs only if I use variable with prepared gradient inside background-image that have multiple backgrounds.

7iomka avatar Jan 27 '21 19:01 7iomka