react-h5-audio-player icon indicating copy to clipboard operation
react-h5-audio-player copied to clipboard

Add support for css custom properties (variables)

Open mysticflute opened this issue 1 year ago • 1 comments
trafficstars

Thanks for creating such a great customizable package!

I was looking at the best way to customize the colors and I saw in the docs support for less/sass variables to override some styling. That sounds really useful, although not everyone is using less/sass on their projects.

CSS custom properties has good browser support, and it would be very useful to have these hooks exposed as custom properties as well. This will allow users a nice way to customize the colors even if they aren't using less/sass.

mysticflute avatar Apr 30 '24 02:04 mysticflute

Sounds good, but I currently don't have bandwidth to work on this feature. I'm open to review PRs if you'd like to implement it with backwards compatibility.

lhz516 avatar May 04 '24 05:05 lhz516