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

Dark mode with SweetAlert #973

Open
mfurkan60 opened this issue Sep 23, 2021 · 2 comments
Open

Dark mode with SweetAlert #973

mfurkan60 opened this issue Sep 23, 2021 · 2 comments

Comments

@mfurkan60
Copy link

Hello everyone, how can I use sweetalert with Dark Mode websites? what do you recommend?

@ddasutein
Copy link

ddasutein commented Mar 2, 2022

I don't know if my version of SweetAlert will help you get started. I was recently working on getting my Chromium extension to support dark mode and to keep the consistency, I had to also update SweetAlert as it only supports light mode.

Here is my version if you are interested

https://github.com/ddasutein/AutoRename/blob/dev/lib/SweetAlert/node_modules/sweetalert/dist/sweetalert.min.js

CSS portion starts at line 319 and my dark mode implementation starts at line 1174.

Example
image

@mfurkan60
Copy link
Author

Thank You very Mcuh

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