diff --git a/web/frontend/src/App.vue b/web/frontend/src/App.vue index 78c5bff..2aaf73d 100644 --- a/web/frontend/src/App.vue +++ b/web/frontend/src/App.vue @@ -11,6 +11,12 @@ const route = useRoute() const showLayout = computed(() => route.meta.layout !== 'blank' && !!auth.token) +const menuColors = computed(() => + theme.isDark + ? { bg: '#282828', text: '#cfd8e3', active: '#ffffff' } + : { bg: '#f9fafb', text: '#1f2937', active: '#0f172a' }, +) + function logout() { auth.logout() router.replace('/login') @@ -19,14 +25,14 @@ function logout() {