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 #166

Open
BrickZ28 opened this issue Feb 16, 2024 · 3 comments
Open

Dark Mode #166

BrickZ28 opened this issue Feb 16, 2024 · 3 comments

Comments

@BrickZ28
Copy link

  • Package Version: Latest
  • Laravel Version: Latest

I'm encountering difficulty activating Dark Mode despite configuring it as the default in both the settings and the environment file. Despite these adjustments, my alerts persist in displaying in light mode. Could there be another location where Dark Mode must be enabled? It seems that, regardless of the theme setting I choose, the colors remain consistently light.

@realrashid
Copy link
Owner

Hey @BrickZ28 ,

Can you try to run

php artisan optimize:clear

Maybe you are facing a cache issue.

To enable the dark mode theme there's just one thing to do.

SWEET_ALERT_THEME="dark"

@BrickZ28
Copy link
Author

I have tried that as well as clearing all cache for virws and routes

@ZekyTheWolf
Copy link

Having same issue... Even if i set it directly inside alert.blade.php

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

3 participants