Feature request: configurable color
icd2k3 opened this issue · 2 comments
icd2k3 commented
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...
SleepWalker commented
try to set color on canvas, like in the demo:
https://github.com/vigetlabs/react-ink/blob/master/example/index.html#L13-L15
nhunzaker commented
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.