chore(vue): stub useColorMode

This commit is contained in:
Benjamin Canac
2025-02-27 12:03:49 +01:00
parent 23ca5a5862
commit 5d5f2a02eb
2 changed files with 20 additions and 1 deletions

View File

@@ -60,7 +60,7 @@ export const NuxtUIPlugin = createUnplugin<NuxtUIOptions | undefined>((_options
options.theme = options.theme || {}
options.theme.colors = resolveColors(options.theme.colors)
const appConfig = defu({ ui: options.ui }, { ui: getDefaultUiConfig(options.theme.colors) })
const appConfig = defu({ ui: options.ui, colorMode: options.colorMode }, { ui: getDefaultUiConfig(options.theme.colors) })
return [
NuxtEnvironmentPlugin(),