ui: 基本框架

This commit is contained in:
2024-02-26 18:01:16 +08:00
parent e0c96717c7
commit 76524a16de
12 changed files with 2231 additions and 40 deletions

View File

@@ -1,6 +1,27 @@
export default defineAppConfig({
ui: {
primary: 'green',
gray: 'neutral'
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',
}
},
}
})