-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Color - Razor/Blazor #2217
Comments
I'm not currently able to reproduce this issue. Color is tracking fine in my tests. SweetAlertResult result = await Swal.FireAsync(new SweetAlertOptions
{
TitleText= "Error",
Text = "Login Failed",
Color = "Red",
Background = "#FBF9F9",
Icon = SweetAlertIcon.Warning,
IconColor = "Red",
ButtonsStyling = true,
ShowCancelButton = false,
ConfirmButtonColor = "Black",
ConfirmButtonText = "textButtonOK",
HeightAuto = false
}); Are you using one of the provided themes? |
builder.Services.AddSweetAlert2(options => |
I think I get it, it's getting the color from the bootstrap css, that is, what is in the global css replaces the color that I set for the object.. how to ignore it? |
SweetAlertResult result = await _swal.FireAsync(new SweetAlertOptions
{
TitleText= title,
Text = message,
Color = "Black",
Background = "#FBF9F9",
Icon = SweetAlertIcon.Warning,
IconColor = "Red",
ButtonsStyling = true,
ShowCancelButton = false,
ConfirmButtonColor = "Black",
ConfirmButtonText = textButtonOK,
HeightAuto = false
}); ; ;
https://prnt.sc/yhIyEWOx1rwW
not respect color Color = "Black", to text
The text was updated successfully, but these errors were encountered: