Closed markwsac closed 3 years ago
You need to play with this options:
const options = {
saveInCookies: false, // default: true,
autoMatchOsTheme: true // default: true
}
saveInCookies
is the one that remember the darkmode last choice.
autoMatchOsTheme
will trigger automatically the OS theme!
When I disconnect my app and connect it again darkmode shows the last set mode. How can i disable it so that darkmode is inactive while app initiates?
**<input id="darktoggle" type="checkbox"/>**