brianvoe / slim-select

Slim advanced select dropdown
http://slimselectjs.com
MIT License
1.03k stars 195 forks source link

Make CSS classes overridable during initialization #530

Closed Data5tream closed 5 months ago

Data5tream commented 5 months ago

Add a setting for overriding CSS classes. Because of the use of classList.add(), only a single class can be set currently. It might be worth it to refactor it so several classes can be used (this would be useful for people who use atomic CSS frameworks like Tailwind).

This PR solves #522

brianvoe commented 5 months ago

I think this pr looks really good. Nice job.