justin-chu / react-fast-marquee

A lightweight React component that harnesses the power of CSS animations to create silky smooth marquees.
https://react-fast-marquee.com
MIT License
1.23k stars 98 forks source link

gradient color for dark/white mode #55

Closed raqibnur closed 1 year ago

raqibnur commented 1 year ago

Is there a method to dynamically change the gradient colors in the dark and white mode?

Wyatt-SG commented 1 year ago

@Raqibnur Yes. You can change the gradient color with the gradientColor prop. More on the props here: https://github.com/justin-chu/react-fast-marquee#react-fast-marquee

yogyy commented 1 year ago

@Raqibnur have you figure it out?

justin-chu commented 1 year ago

As @Wyatt-SG mentioned, you can use the gradientColor prop to dynamically change the gradient color