#How to use gradient with more than 2 colors?

14 messages · Page 1 of 1 (latest)

dusty lance
dusty lance
muted moth
#

Please read the second paragraph

dusty lance
#

Sorry, reading now

#

Alright, that's what I imagined

#

BTW, consider simulating the easing by default like in the link I provided. There's a PostCSS plugin that does it. Maybe add an option for easing.

muted moth
dusty lance
#

I mean so we can have nicer gradients without recurring to Styles API

#

It's about 130 lines of code in total to simulate the easing, might be incorporated into the function that generates the gradient in Mantine. I think I'll patch it locally.

#

I think it's safe to assume every Mantine user would prefer the right one:

dusty lance
dusty lance
#

Hum, maybe allow to pass a custom getGradient function via theme. 🤔