@@ -128,7 +128,7 @@ export default function Files({
128
128
return (
129
129
< section className = "flex flex-col gap-8 mt-8" >
130
130
< article >
131
- < h3 className = "text-white md:text-2xl lg:text-2xl text-xl" >
131
+ < h3 className = "dark: text-white text-darkestbg md:text-2xl lg:text-2xl text-xl" >
132
132
Your files
133
133
</ h3 >
134
134
</ article >
@@ -137,17 +137,17 @@ export default function Files({
137
137
) : (
138
138
< Table >
139
139
{ files . length !== 0 && isErr && (
140
- < TableCaption className = "text-lightgrey/70" >
140
+ < TableCaption className = "dark: text-lightgrey/70 text-darkestbg " >
141
141
A list of your uploaded files.
142
142
</ TableCaption >
143
143
) }
144
144
< TableHeader >
145
- < TableRow className = "border border-transparent border-b-borderbtm/80 bg-[#282c34]/50 hover:bg-[#282c34]/50" >
146
- < TableHead className = "text-white" > Name</ TableHead >
147
- < TableHead className = "text-white" > Type</ TableHead >
148
- < TableHead className = "text-white" > Size</ TableHead >
149
- < TableHead className = "text-white" > Created</ TableHead >
150
- < TableHead className = "text-white" > </ TableHead >
145
+ < TableRow className = "border border-transparent dark: border-b-borderbtm/80 border-b-hashtext dark: bg-[#282c34]/50 bg-white hover:dark: bg-[#282c34]/50 hover:bg-white " >
146
+ < TableHead className = "dark: text-white" > Name</ TableHead >
147
+ < TableHead className = "dark: text-white" > Type</ TableHead >
148
+ < TableHead className = "dark: text-white" > Size</ TableHead >
149
+ < TableHead className = "dark: text-white" > Created</ TableHead >
150
+ < TableHead className = "dark: text-white" > </ TableHead >
151
151
</ TableRow >
152
152
</ TableHeader >
153
153
< TableBody >
@@ -156,18 +156,18 @@ export default function Files({
156
156
return (
157
157
< TableRow
158
158
key = { item . uploadID }
159
- className = "cursor-pointer border border-transparent border-b-borderbtm/80 bg-[#282c34]/50 hover:bg-[#282c34]/30"
159
+ className = "cursor-pointer border border-transparent dark: border-b-borderbtm/80 border-b-hashtext dark: bg-[#282c34]/50 bg-white hover:dark: bg-[#282c34]/30 hover:bg-[#bfbfbf]/20 "
160
160
>
161
161
< TableCell
162
- className = "text-midwhite2"
162
+ className = "dark: text-midwhite2 text-blackmid dark:font-normal font-medium "
163
163
onClick = { ( ) =>
164
164
router . push ( `/file/${ item . uploadID } ` )
165
165
}
166
166
>
167
167
{ item . filename . substring ( 0 , 10 ) + "..." }
168
168
</ TableCell >
169
169
< TableCell
170
- className = "text-midwhite2"
170
+ className = "dark: text-midwhite2 text-blackmid dark:font-normal font-medium "
171
171
onClick = { ( ) =>
172
172
router . push ( `/file/${ item . uploadID } ` )
173
173
}
@@ -176,15 +176,15 @@ export default function Files({
176
176
</ TableCell >
177
177
178
178
< TableCell
179
- className = "text-midwhite2"
179
+ className = "dark: text-midwhite2 text-blackmid dark:font-normal font-medium "
180
180
onClick = { ( ) =>
181
181
router . push ( `/file/${ item . uploadID } ` )
182
182
}
183
183
>
184
184
{ item . filesize }
185
185
</ TableCell >
186
186
< TableCell
187
- className = "text-midwhite2"
187
+ className = "dark: text-midwhite2 text-blackmid dark:font-normal font-medium "
188
188
onClick = { ( ) =>
189
189
router . push ( `/file/${ item . uploadID } ` )
190
190
}
@@ -197,12 +197,12 @@ export default function Files({
197
197
>
198
198
< DropdownMenu >
199
199
< DropdownMenuTrigger asChild >
200
- < MoreHorizontal className = "cursor-pointer w-4 h-4 text-white" />
200
+ < MoreHorizontal className = "cursor-pointer w-4 h-4 dark: text-white text-black " />
201
201
</ DropdownMenuTrigger >
202
- < DropdownMenuContent className = "bg-[#111213] border border-darkbtn p-4 w-48 rounded-md" >
202
+ < DropdownMenuContent className = "dark: bg-[#111213] bg-white shadow-lg dark:shadow-none border border-[#bfbfbf] dark:border-hovergrey p-4 w-48 rounded-md" >
203
203
< nav className = "flex flex-col gap-2" >
204
204
< DropdownMenuItem
205
- className = "p-3 bg-transparent transition-colors hover:bg-hovergrey cursor-pointer select-none rounded-md text-midwhite border-none outline-none flex items-center justify-between gap-2"
205
+ className = "p-3 bg-transparent transition-colors hover:bg-[#bfbfbf]/30 hover:dark:bg- hovergrey cursor-pointer select-none rounded-md text-blackmid dark: text-midwhite border-none outline-none flex items-center justify-between gap-2"
206
206
onClick = { ( ) =>
207
207
OpenModal ( item . filename , item . uploadID )
208
208
}
@@ -212,7 +212,7 @@ export default function Files({
212
212
< Forward className = "w-4 h-4" />
213
213
</ DropdownMenuItem >
214
214
< DropdownMenuItem
215
- className = "p-3 bg-transparent transition-colors hover:bg-hovergrey cursor-pointer select-none rounded-md text-midwhite border-none outline-none flex items-center justify-between gap-2"
215
+ className = "p-3 bg-transparent transition-colors hover:bg-[#bfbfbf]/30 hover:dark:bg- hovergrey cursor-pointer select-none rounded-md text-blackmid dark: text-midwhite border-none outline-none flex items-center justify-between gap-2"
216
216
onClick = { ( ) =>
217
217
deleteFile ( item . filename , item . uploadID )
218
218
}
0 commit comments