-
Notifications
You must be signed in to change notification settings - Fork 76
/
Copy pathapp.config.ts
114 lines (101 loc) · 2.53 KB
/
app.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
export default defineAppConfig({
ui: {
primary: 'blue',
gray: 'slate',
modal: {
background: 'dark:bg-brand-900',
overlay: {
background: 'dark:bg-black/50'
}
},
card: {
ring: 'dark:ring-coolGray-800',
background: 'dark:bg-brand-900'
},
popover: {
background: 'dark:bg-brand-900',
ring: 'ring-coolGray-800'
},
dropdown: {
background: 'dark:bg-coolGray-875',
ring: 'ring-0',
padding: 'p-3'
},
notification: {
background: 'dark:bg-brand-900'
},
tooltip: {
base: '[@media(pointer:coarse)]:hidden px-2 py-1 text-xs h-auto font-normal relative overflow-auto text-wrap',
width: 'w-full max-w-[200px]'
},
checkbox: {
wrapper: 'items-center',
inner: 'ms-2',
base: 'dark:checked:bg-transparent dark:checked:border-white dark:disabled:bg-coolGray-500',
rounded: 'rounded-none',
border: 'dark:border-white',
label: 'font-normal'
},
select: {
color: {
white: {
outline:
'shadow-sm dark:bg-brand-900 dark:text-white ring-1 ring-inset dark:ring-coolGray-700 focus:ring-2 dark:focus:ring-primary-400'
}
}
},
tabs: {
list: {
background: 'dark:bg-transparent',
padding: 'pb-0',
rounded: 'rounded-none',
marker: {
background:
'dark:bg-transparent translate-y-px border-b border-primary-500',
rounded: 'rounded-none'
},
tab: {
active: 'dark:text-primary-500'
}
}
},
selectMenu: {
trigger: '[&>button]:cursor-pointer',
background: 'dark:bg-brand-900',
option: {
base: 'cursor-pointer',
active: 'dark:bg-brand-800',
selectedIcon: {
base: 'w-4 h-4'
}
},
input: 'dark:bg-brand-900'
},
skeleton: {
background: 'dark:bg-brand-800'
},
table: {
base: 'border-b border-coolGray-800',
divide: 'dark:divide-coolGray-800',
tbody: 'dark:divide-coolGray-800',
th: {
base: 'whitespace-nowrap',
padding: 'p-4',
color: 'dark:text-coolGray-400',
font: 'font-normal',
size: 'text-xs'
},
td: {
padding: 'p-2',
color: 'dark:text-slate-50',
size: 'text-xs'
},
default: {
sortButton: {
class:
'p-0 dark:text-coolGray-450 text-xs font-normal dark:hover:bg-transparent [&>.iconify]:size-4'
}
}
}
}
})