I have tried changing the theme of my sweetAlert2, but to no avail.
The following files were extracted from the official page of SweetAlert2, but I cannot get the theme to be changed, it stays with the default, I have looked for how to do it, but it appears that it is only enough to declare the css and the theme is changed, but I don't know if it is necessary to change any other file or any part where it indicates that I am using x theme
this is my css
<link rel="stylesheet" href="/sweetAlert2/css/borderless.css">
which is this css https://cdn.jsdelivr.net/npm/@sweetalert2/theme-borderless/borderless.css
and my js
<script src="/sweetAlert2/js/sweetalert2.js"></script>
which is this js https://cdn.jsdelivr.net/npm/sweetalert2@9
SOLVED
I already solved it, first clarify that the borderless theme was not what I needed since when opening a confirmation message, it opens in full screen (I guess that's why the name), the point is that I managed to change to the Dark theme, but for some reason, downloading them from jsDelivr doesn't load the theme.
So what I did was inspect the sweetalert page and get the files I needed from there (css of the selected theme and the js) and it works perfectly now