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.
EDIT: We already posted about this issue but the answer we received was referencing the same documentation page we're not able to understand.
Any additional help or examples we could look for?
Many thanks!
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.
EDIT: We already posted about this issue but the answer we received was referencing the same documentation page we're not able to understand. Any additional help or examples we could look for? Many thanks!
https://github.com/sweetalert2/sweetalert2-themes#usage
Originally posted by @limonte in https://github.com/sweetalert2/sweetalert2-themes/issues/94#issuecomment-1169228677