-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathapp.config.ts
More file actions
executable file
·144 lines (143 loc) · 4.5 KB
/
Copy pathapp.config.ts
File metadata and controls
executable file
·144 lines (143 loc) · 4.5 KB
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
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
const contracts = {
erc20: '0x0f7b3f5a8fed821c5eb60049538a548db2d479ce',
uniswapPair: '0xa7480AAfA8AD2af3ce24Ac6853F960AE6Ac7F0c4',
};
export default defineAppConfig({
ui: {
primary: 'cyan',
gray: 'neutral',
modal: {
overlay: {
background: 'bg-neutral-200/75 dark:bg-neutral-800/75 backdrop-blur',
},
},
card: {
ring: 'ring-inset ring-1 ring-neutral-200 dark:ring-neutral-700/50',
},
// strategy: 'override',
button: {
color: {
red: {
solid: 'bg-red-500 text-white hover:brightness-110',
},
gray: {
outline:
'text-neutral-900 ring-1 ring-neutral-200 hover:ring-neutral-300 dark:text-neutral-50 dark:ring-neutral-700 hover:dark:ring-neutral-600',
soft: 'text-neutral-950 hover:bg-neutral-100 dark:text-neutral-50 dark:hover:bg-neutral-800/50',
},
primary: {
soft: 'text-cyan-800 bg-cyan-200/50 hover:bg-cyan-300/50 dark:text-cyan-400 dark:bg-cyan-800/50 dark:hover:bg-cyan-600/50',
},
},
rounded: 'rounded-[4px]',
base: 'justify-center',
},
input: {
placeholder: 'placeholder-neutral-400 dark:placeholder-neutral-500',
color: {
gray: {
outline:
'bg-transparent dark:bg-transparent ring-neutral-200 dark:ring-neutral-700 text-neutral-900 dark:text-neutral-50 focus:ring-cyan-500 dark:focus:ring-cyan-400',
},
},
icon: {
base: 'text-neutral-400 dark:text-neutral-500',
},
},
badge: {
color: {
white: {
outline:
'text-neutral-500 dark:text-neutral-400 ring-1 ring-neutral-500 dark:ring-neutral-400',
},
},
},
dropdown: {
background: 'dark:bg-neutral-900/70 backdrop-blur-md shadow-md',
ring: 'ring-neutral-100 dark:ring-neutral-800',
divide: 'divide-neutral-200 dark:divide-neutral-700',
item: {
active: 'bg-cyan-200 dark:bg-cyan-500 text-cyan-900 dark:text-white',
icon: {
active: 'text-cyan-900 dark:text-white',
},
},
},
table: {
wrapper:
'max-h-[42svh] md:max-h-[50svh] xl:max-h-[50svh] min-[1536px]:max-h-[80vh] min-[1920px]:max-h-[90vh] overflow-y-scroll',
thead:
'sticky top-0 bg-white dark:bg-neutral-900 after:absolute after:bottom-0 after:w-full after:h-[1px] after:bg-neutral-200 after:dark:bg-neutral-600 z-10',
th: {
padding: 'p-2',
color: 'text-neutral-600 dark:text-neutral-300',
font: 'font-normal',
},
td: {
padding: 'p-2',
base: 'min-h-11 pl-4',
color: 'text-cyan-900 dark:text-cyan-100',
},
tbody: 'divide-y divide-neutral-200 dark:divide-neutral-800',
default: {
sortButton: {
class:
'text-xs md:text-sm font-normal dark:text-neutral-300 hover:dark:text-neutral-100 p-0',
color: 'neutral',
},
},
},
select: {
color: {
white: {
outline:
'dark:bg-neutral-900 text-neutral-900 ring-neutral-300 dark:ring-neutral-700 ',
},
},
variant: {
none: ' text-neutral-800 dark:text-neutral-200',
},
},
tabs: {
list: {
base: 'after:bg-gradient-to-r dark:after:from-cyan-600 dark:after:to-gray-900 after:from-cyan-300 after:to-gray-200 mb-6',
width: 'w-full max-w-full',
background: '',
marker: {
background: '',
},
padding: 'p-0',
height: 'h-max',
tab: {
base: ' md:py-2 md:px-5 w-max bg-clip-text bg-gradient-to-r dark:from-cyan-300 dark:to-cyan-600 from-cyan-500 to-cyan-600 after:bg-gradient-to-r dark:after:from-cyan-300 dark:after:to-cyan-600 after:from-cyan-500 after:to-cyan-600 h-[36px]',
rounded: 'rounded-none',
background: '',
active: 'tab-active font-medium text-cyan-500 dark:text-cyan-400',
inactive: 'text-cyan-900 dark:text-cyan-100',
size: 'text-xs md:text-[15px] md:leading-[24px] font-normal',
},
},
},
toggle: {
default: {
color: 'cyan',
},
inactive: 'dark:bg-neutral-800',
container: {
base: 'dark:bg-neutral-200',
},
},
},
icon: {
size: '24px', // default <Icon> size applied
class: 'icon', // default <Icon> class applied
mode: 'css', // default <Icon> mode applied
aliases: {
nuxt: 'logos:nuxt-icon',
},
},
contracts,
arweave: {
gateway: 'https://arweave.net',
},
});