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

Success icon bug on dark backgrounds #969

Open
hamid0740 opened this issue Jun 25, 2021 · 1 comment
Open

Success icon bug on dark backgrounds #969

hamid0740 opened this issue Jun 25, 2021 · 1 comment

Comments

@hamid0740
Copy link

Hello, as you can see in the gif below, in the dark backgrounds, the success icon will have a little problem. If you can please make this icon customizable, too.
Success-icon-bug

I should also mention that the other icons including: info, error & warning do not have any problems with dark backgrounds and work properly.

@imkuroneko
Copy link

Add this on your CSS file for handle that situation

.swal-icon--success__hide-corners, .swal-icon--success:after, .swal-icon--success:before {
    background: #5a5a5a; /* your color here */
}

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