sweetalert2 / sweetalert2-themes

Themes for SweetAlert2: Dark, Minimal, Borderless, Bootstrap, Material UI, WordPress Admin, Bulma, ...
MIT License
221 stars 92 forks source link

Using themes #94

Closed vnihoul77 closed 2 years ago

vnihoul77 commented 2 years ago

Good afternoon, We're looking to use the themes, but we can't figure out how to do so - we're not very experienced developers. We understand that we need to import the corresponding CSS file for the desired theme, but how do you then apply it? My goal is to have a dropdown with the different themes and show the modal with the selected theme.

The easiest would be to have a "theme" parameter in the options as the other settings, but there are none. We'd really appreciate your help!

limonte commented 2 years ago

https://github.com/sweetalert2/sweetalert2-themes#usage