diff --git a/app.vue b/app.vue index d1525c4c7..5a1e520f8 100644 --- a/app.vue +++ b/app.vue @@ -32,6 +32,7 @@ export default { this.$primevue.changeTheme(this.$appState.theme, event.theme, 'theme-link', () => { this.$appState.theme = event.theme; this.$appState.darkTheme = event.dark; + EventBus.emit('theme-change-complete', { theme: event.theme, dark: event.dark }); }); }; diff --git a/doc/chart/BasicDoc.vue b/doc/chart/BasicDoc.vue index 36f3b7a1e..b5f0b8aa9 100644 --- a/doc/chart/BasicDoc.vue +++ b/doc/chart/BasicDoc.vue @@ -12,7 +12,10 @@