mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-27 18:30:35 +01:00
docs(nuxt.config): use --background variable on root element
This commit is contained in:
@@ -6,14 +6,9 @@ const { resolve } = createResolver(import.meta.url)
|
|||||||
|
|
||||||
export default defineNuxtConfig({
|
export default defineNuxtConfig({
|
||||||
app: {
|
app: {
|
||||||
head: {
|
|
||||||
bodyAttrs: {
|
|
||||||
class: 'antialiased font-sans text-gray-700 dark:text-gray-200 bg-white dark:bg-gray-900'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
rootAttrs: {
|
rootAttrs: {
|
||||||
'vaul-drawer-wrapper': '',
|
'vaul-drawer-wrapper': '',
|
||||||
'class': 'bg-white dark:bg-gray-900'
|
'class': 'bg-[--background]'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user