zuramai / mazer

Free and Open-source Bootstrap 5 Admin Dashboard Template and Landing Page
http://zuramai.github.io/mazer
MIT License
2.77k stars 782 forks source link

How to disable dark mode when user first time go to my web? #277

Closed WhisperGo closed 1 year ago

WhisperGo commented 1 year ago

So, when i try open my web in incognito mode, my login page become dark mode, and i want to change the default theme become light mode? Is that possible?

Dark mode : image

Light Mode : image

alfianchii commented 1 year ago

Was your mode dark before you entered the login page?

WhisperGo commented 1 year ago

Was your mode dark before you entered the login page?

Yes, its true. And if you go in mazer demo web, when you first time go to there, the dark mode is toggled on by default.

Can you help me with this problem?

alfianchii commented 1 year ago

On first load, by default, Mazer's mode is light. And the mode, whether light or dark, is stored on browser's local storage. image

alfianchii commented 1 year ago

This issue already settled, I presumed. If there are other issues, you can create a new issue :)

WhisperGo commented 1 year ago

I'm afraid not, why when I open the mazer demo template, the default is dark?

alfianchii commented 1 year ago

@WhisperGo perhaps because your system settings

WhisperGo commented 1 year ago

@WhisperGo perhaps because your system settings

Hmm, ok thanks i try change to light mode in my windows 10.😁

alfianchii commented 1 year ago

@WhisperGo perhaps because your system settings

Hmm, ok thanks i try change to light mode in my windows 10.😁

Nice!