vigetlabs/react-ink

Feature request: configurable color

icd2k3 opened this issue · 2 comments

This package is great! I recently decided to avoid bootstrap libraries like react-toolbox and material-ui in favor of my own components and this lets me add the ripple effect to them very easily.

Sometimes the text color of the element doesn't look great as the color of the ripple. I'd love an optional prop to override the default color - noticed a PR was open here #19 but it's pretty old...

Hey, yep! The canvas uses it's current color, so the color is configurable using CSS.

If I remember correctly, you can also use this to transition the color for error/disabled/etc states.