djorg83 / react-bootstrap-sweetalert

A React implementation of SweetAlert
https://djorg83.github.io/react-bootstrap-sweetalert/
MIT License
253 stars 55 forks source link

Display issue when using material ui dark mode #74

Open dgour007 opened 3 years ago

dgour007 commented 3 years ago

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 commented 3 years ago

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.