I'm trying to provide my own theming. I.e. provide my very own CSS that goes beyond selecting one of the SweetAlertTheme enum values.
In the official sweetalert2-themes repository they suggest to simply add a CSS reference like e.g.
<link rel="stylesheet" href="@sweetalert2/themes/dark/dark.css" />
But I think this is not possible here.
My question
is it possible to provide and apply my own theme through some mechanism in the Razor.SweetAlert2 library?
Or would I have to fork a version and add this as a new feature?
Idea
I do think what would be already sufficient for me would be some SweetAlertTheme.None option to tell Razor.SweetAlert2 that no CSS should be added at all.
Then I can provide my own CSS/SCSS externally by simply including it in my containing parent page/component.
I'm trying to provide my own theming. I.e. provide my very own CSS that goes beyond selecting one of the
SweetAlertThemeenum values.In the official sweetalert2-themes repository they suggest to simply add a CSS reference like e.g.
But I think this is not possible here.
My question
is it possible to provide and apply my own theme through some mechanism in the Razor.SweetAlert2 library?
Or would I have to fork a version and add this as a new feature?
Idea
I do think what would be already sufficient for me would be some
SweetAlertTheme.Noneoption to tell Razor.SweetAlert2 that no CSS should be added at all.Then I can provide my own CSS/SCSS externally by simply including it in my containing parent page/component.