mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-22 06:39:39 +02: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:
parent
79243822bd
commit
04ee1e73be
8 changed files with 23 additions and 21 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue