Closed reinalockheart closed 6 years ago
Would you expect these color functions to work with linear-gradients? For example, I'd expect this to tint the entire gradient, but it seems to not work that way.
--gradient: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%); --gradient-hover: color(var(--gradient) tint(20%));
--gradient: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%);
--gradient-hover: color(var(--gradient) tint(20%));
I guess you could tint the colors in this. It's obvious now, my bad.
Would you expect these color functions to work with linear-gradients? For example, I'd expect this to tint the entire gradient, but it seems to not work that way.
--gradient: linear-gradient(90deg, #00C0FF 0%, #FFCF00 49%, #FC4F4F 100%);
--gradient-hover: color(var(--gradient) tint(20%));