From eb5f453b2485298f9eaabed20233d30031732cc1 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Thu, 24 Feb 2022 00:01:12 +0300 Subject: [PATCH] Fixed theme name --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index 03bf8cee8..76161fef3 100644 --- a/src/main.js +++ b/src/main.js @@ -115,7 +115,7 @@ import './assets/styles/flags.css'; router.beforeEach(function (to, from, next) { if (to.name === 'home' && from.name) { - const newTheme = app.config.globalProperties.$appState.darkTheme ? 'lara-dark-indigo' : 'lara-light-indigo'; + const newTheme = app.config.globalProperties.$appState.darkTheme ? 'lara-dark-blue' : 'lara-light-blue'; EventBus.emit('theme-change', { theme: newTheme, dark: app.config.globalProperties.$appState.darkTheme }); } next();