fix: Darkmode issue

This commit is contained in:
iamsivin
2025-11-07 16:35:29 +05:30
parent 44579bdcad
commit 4e74f7920f
+2
View File
@@ -7,6 +7,8 @@ export default {
return { theme: 'light' };
},
mounted() {
// Add background color class once - it automatically handles light/dark modes
document.documentElement.classList.add('bg-n-background');
this.setColorTheme();
this.listenToThemeChanges();
this.setLocale(window.chatwootConfig.selectedLocale);