chore: layout config updates

This commit is contained in:
tugcekucukoglu
2025-12-25 10:03:32 +03:00
parent a4b2c96b0d
commit 410c08d693
10 changed files with 530 additions and 413 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import { useLayout } from '@/layout/composables/layout';
import { onMounted, ref, watch } from 'vue';
const { getPrimary, getSurface, isDarkTheme } = useLayout();
const { layoutConfig, isDarkTheme } = useLayout();
const lineData = ref(null);
const pieData = ref(null);
const polarData = ref(null);
@@ -219,7 +219,7 @@ function setColorOptions() {
}
watch(
[getPrimary, getSurface, isDarkTheme],
[() => layoutConfig.primary, () => layoutConfig.surface, isDarkTheme],
() => {
setColorOptions();
},