Merge branch 'mealie-next' into feat/announcements

This commit is contained in:
Michael Genson
2026-04-10 10:56:50 -05:00
committed by GitHub
29 changed files with 197 additions and 223 deletions

View File

@@ -6,12 +6,12 @@ export default defineNuxtPlugin((nuxtApp) => {
console.log(`changing theme to ${v ? "dark" : "light"} using @vueuse/useDark`);
const $vuetify = nuxtApp.vueApp.$nuxt.$vuetify;
if ($vuetify)
$vuetify.theme.global.name.value = v ? "dark" : "light";
$vuetify.theme.toggle();
},
});
nuxtApp.hook("vuetify:ready", (vuetify) => {
vuetify.theme.global.name.value = isDark.value ? "dark" : "light";
vuetify.theme.change(isDark.value ? "dark" : "light");
});
return {