fix: icon error

This commit is contained in:
2024-07-28 01:59:09 +08:00
parent 8eeccb0a18
commit 8f4f2b6596
2 changed files with 30 additions and 25 deletions

View File

@@ -1,27 +1,27 @@
export default defineAppConfig({
ui: {
primary: 'indigo',
gray: 'neutral',
strategy: 'merge',
button: {
icon: {
loading: 'animate-none',
},
default: {
loadingIcon: 'i-svg-spinners-180-ring-with-bg'
}
},
notifications: {
position: 'top-0 bottom-auto'
},
horizontalNavigation: {
container: 'gap-2',
base: 'px-3 py-4',
after: 'after:hidden',
active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300',
icon: {
active: 'text-neutral-50 dark:text-neutral-300',
}
},
}
ui: {
primary: 'indigo',
gray: 'neutral',
strategy: 'merge',
button: {
icon: {
loading: 'animate-none',
},
default: {
loadingIcon: 'i-svg-spinners-180-ring-with-bg',
},
},
notifications: {
position: 'top-0 bottom-auto',
},
horizontalNavigation: {
container: 'gap-2',
base: 'px-3 py-4',
after: 'after:hidden',
active: 'before:bg-neutral-600 hover:before:bg-neutral-600 dark:before:bg-neutral-800 dark:hover:before:bg-neutral-800 text-neutral-50 dark:text-neutral-300',
icon: {
active: 'text-neutral-50 dark:text-neutral-300',
},
},
},
})

View File

@@ -19,6 +19,11 @@ export default defineNuxtConfig({
'@nuxt/image',
],
icon: {
provider: 'iconify',
serverBundle: false,
},
colorMode: {
preference: 'light',
},