-
-
Notifications
You must be signed in to change notification settings - Fork 89
Open
Description
Versions
Problem
Stylis does minification and it works great:
.foo { color: red; }
.bar {
color: blue;
background: orange;
}
/* ⬇️⬇️⬇️ */
.foo{color:red;}.bar{color:blue;background:orange;}The problem happens with radial-gradient& repeating-linear-gradient:
.foo {
background: repeating-linear-gradient(
-45deg,
red,
red 5px,
blue 5px,
blue 10px
);
}
.bar {
color: blue;
background: orange;
}
.baz {
background-image:radial-gradient(
ellipse 50rem 50rem,
#8e91e6 0%,
#403f5a 25%,
transparent 46%
)
}
/* ⬇️⬇️⬇️ */
.foo{background:repeating-linear-gradient(
-45deg,
red,
red 5px,
blue 5px,
blue 10px
);}.bar{color:blue;background:orange;}.baz{background-image:radial-gradient(
ellipse 50rem 50rem,
#8e91e6 0%,
#403f5a 25%,
transparent 46%
);}👆 notice that .foo & .baz are not minified.
Reproduction
Fonger
Metadata
Metadata
Assignees
Labels
No labels