Skip to content
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

How to apply different .swal-overlay for different swal??? #987

Open
importrayhan opened this issue Apr 8, 2022 · 1 comment
Open

How to apply different .swal-overlay for different swal??? #987

importrayhan opened this issue Apr 8, 2022 · 1 comment

Comments

@importrayhan
Copy link

.swal-overlay changes the theme globally. I want to use different colors for warning swals and success swals.

@imShub
Copy link

imShub commented Oct 30, 2022

You can use this to specify the overlay properties.

.swal-overlay {
background-color: rgba(43, 165, 137, 0.45);
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants