impement and fix user settings

This commit is contained in:
root
2025-12-22 18:26:40 -05:00
parent d19bd16210
commit 116f664e7e
7 changed files with 69 additions and 32 deletions

View File

@@ -4,4 +4,17 @@
<script setup lang="ts">
import { RouterView } from 'vue-router';
import { onMounted } from 'vue';
import { useTheme } from 'vuetify';
import { useLayoutStore } from '@KTXC/stores/layoutStore';
const theme = useTheme();
const layoutStore = useLayoutStore();
// Apply saved theme on mount
onMounted(() => {
if (layoutStore.theme) {
theme.global.name.value = layoutStore.theme;
}
});
</script>