Use theme prop instead of class for v-main background

This commit is contained in:
2025-08-15 10:04:59 +02:00
parent 28beddb785
commit 8b55efa318

View File

@@ -3,13 +3,7 @@
<NavBar />
<!-- Main content of the application -->
<v-main
:class="[
$vuetify.theme.current.dark
? 'bg-grey-darken-1'
: 'bg-green-lighten-5',
]"
>
<v-main :theme="$vuetify.theme.current.dark ? 'dark' : 'light'">
<NuxtPage />
</v-main>