kopiro / siriwave

The Apple® Siri wave-form replicated in a JS library.
http://kopiro.github.io/siriwave/
MIT License
1.63k stars 168 forks source link

In style "ios", setting color in curve definition doesn't affect the curve. #61

Closed SmitMaruti closed 2 years ago

SmitMaruti commented 3 years ago

I want to have different colors for the curves, I am using the following curve definition [ { attenuation: -2, lineWidth: 1, opacity: 0.6, color: "229,231,233", }, { attenuation: 2, lineWidth: 1, opacity: 0.8, color: "255,159,148", }, { attenuation: 1, lineWidth: 1.5, opacity: 1, color: "109,111,189", }, ]

But the wave is shown in default white color only.

kopiro commented 2 years ago

Fixed in: https://github.com/kopiro/siriwave/pull/66