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

Display issue when using material ui dark mode #74

Open
dgour007 opened this issue Oct 3, 2020 · 1 comment
Open

Display issue when using material ui dark mode #74

dgour007 opened this issue Oct 3, 2020 · 1 comment

Comments

@dgour007
Copy link

dgour007 commented Oct 3, 2020

When using material ui theme with dark mode on, the sweet alert pop is white in color and the text is not visible. Please refer to the attached image. I made it work by changing the color to black using style={{ display: "block", color: "black" }} but its not matching the dark mode. Ideally if dark mode is on, then sweet alert should adapt to the theme. Please let me know if I missed something.

Sweet Alert

@djorg83
Copy link
Owner

djorg83 commented Oct 4, 2020

This library is not associated with material ui in any way. If you want special styles you have to implement them using the available style props. If there is a style that you wish to override but cannot please let me know and I can see about making this more customizable.

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