Cosmetic
parent
4c36268045
commit
1217bfbcd2
|
@ -55,12 +55,13 @@ export default {
|
||||||
document.startViewTransition(() => this.applyTheme(event));
|
document.startViewTransition(() => this.applyTheme(event));
|
||||||
},
|
},
|
||||||
applyTheme(event) {
|
applyTheme(event) {
|
||||||
this.$primevue.changeTheme(this.$appState.theme, event.theme, 'theme-link', () => {
|
// @todo
|
||||||
|
/*this.$primevue.changeTheme(this.$appState.theme, event.theme, 'theme-link', () => {
|
||||||
this.$appState.theme = event.theme;
|
this.$appState.theme = event.theme;
|
||||||
this.$appState.darkTheme = event.dark;
|
this.$appState.darkTheme = event.dark;
|
||||||
|
|
||||||
EventBus.emit('dark-mode-toggle', { theme: event.theme, dark: event.dark });
|
EventBus.emit('dark-mode-toggle', { theme: event.theme, dark: event.dark });
|
||||||
});
|
});*/
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue