mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
Fix dark mode support and improve notification/MFA UI (#2126)
* Fix dark mode support and improve notification/MFA UI" * hide auth tabs on mfa/verify
This commit is contained in:
@@ -50,8 +50,7 @@ export default class extends Controller {
|
||||
}
|
||||
|
||||
systemPrefersDark() {
|
||||
return false
|
||||
// return window.matchMedia("(prefers-color-scheme: dark)").matches
|
||||
return window.matchMedia("(prefers-color-scheme: dark)").matches
|
||||
}
|
||||
|
||||
handleSystemThemeChange = (event) => {
|
||||
|
||||
Reference in New Issue
Block a user