How do I make gradient smoother?
So I have 2 components: Gradient.tsx & Button.tsx. Code for both you cabn see at screenshots 1 & 2 accordingly.
They problem, however, is not there. On screenshot no.3 you can see Gradient.scss, which is initialized after the button is pressed.
The thing is, when you start animation, you can see a very sharp change in color, escpecially on the right side of the screen.
How do I change my gradient so that it starts smoothly?
P.S. the video of this you can also check below
They problem, however, is not there. On screenshot no.3 you can see Gradient.scss, which is initialized after the button is pressed.
The thing is, when you start animation, you can see a very sharp change in color, escpecially on the right side of the screen.
How do I change my gradient so that it starts smoothly?
P.S. the video of this you can also check below


