mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-08 09:22:34 +00:00
Upgrade to Livewire 3 (#103)
* upgrade to livewire 3 * fix updater * fix modal events * fix modal events
This commit is contained in:
@ -4,7 +4,6 @@
|
||||
if (this.theme === 'dark') {
|
||||
return true
|
||||
}
|
||||
console.log(window.matchMedia('(prefers-color-scheme: dark)'))
|
||||
return this.theme === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||
},
|
||||
changeTheme(theme) {
|
||||
|
Reference in New Issue
Block a user