@@ -215,7 +215,7 @@ export default function DashboardClient() {
215215 { ! multiSelect && ! reminderSelect && pendingInvoices . length > 0 && (
216216 < button
217217 onClick = { ( ) => setMultiSelect ( true ) }
218- className = "min-h-11 px-4 py-2 rounded-lg bg-gray-700 hover:bg-gray-600 text-sm font-semibold transition-colors"
218+ className = "min-h-11 px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray- 700 hover:bg-gray-300 dark: hover:bg-gray-600 text-sm font-semibold transition-colors"
219219 aria-label = "Enter multi-select mode to pay multiple invoices"
220220 >
221221 Pay Multiple
@@ -224,7 +224,7 @@ export default function DashboardClient() {
224224 { ! multiSelect && ! reminderSelect && invoices . length > 0 && (
225225 < button
226226 onClick = { ( ) => { setBulkReminderResults ( null ) ; setReminderSelect ( true ) ; } }
227- className = "min-h-11 px-4 py-2 rounded-lg bg-gray-700 hover:bg-gray-600 text-sm font-semibold transition-colors"
227+ className = "min-h-11 px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray- 700 hover:bg-gray-300 dark: hover:bg-gray-600 text-sm font-semibold transition-colors"
228228 aria-label = "Enter multi-select mode to schedule reminders"
229229 >
230230 Schedule Reminders
@@ -234,7 +234,7 @@ export default function DashboardClient() {
234234 < >
235235 < button
236236 onClick = { exitMultiSelect }
237- className = "min-h-11 px-4 py-2 rounded-lg bg-gray-700 hover:bg-gray-600 text-sm font-semibold transition-colors"
237+ className = "min-h-11 px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray- 700 hover:bg-gray-300 dark: hover:bg-gray-600 text-sm font-semibold transition-colors"
238238 >
239239 Cancel
240240 </ button >
@@ -252,7 +252,7 @@ export default function DashboardClient() {
252252 < >
253253 < button
254254 onClick = { exitReminderSelect }
255- className = "min-h-11 px-4 py-2 rounded-lg bg-gray-700 hover:bg-gray-600 text-sm font-semibold transition-colors"
255+ className = "min-h-11 px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray- 700 hover:bg-gray-300 dark: hover:bg-gray-600 text-sm font-semibold transition-colors"
256256 >
257257 Cancel
258258 </ button >
@@ -301,7 +301,7 @@ export default function DashboardClient() {
301301 className = { `rounded-full px-3 py-1.5 text-sm font-semibold transition-colors ${
302302 activePreset === "all"
303303 ? "bg-indigo-600 text-white"
304- : "bg-gray-800 text-gray-300 hover:bg-gray-700"
304+ : "bg-gray-200 dark:bg-gray- 800 text-gray-700 dark:text-gray- 300 hover:bg-gray-300 dark: hover:bg-gray-700"
305305 } `}
306306 aria-pressed = { activePreset === "all" }
307307 >
@@ -319,7 +319,7 @@ export default function DashboardClient() {
319319 className = { `rounded-full px-3 py-1.5 text-sm font-semibold transition-colors ${
320320 isActive
321321 ? "bg-indigo-600 text-white"
322- : "bg-gray-800 text-gray-300 hover:bg-gray-700"
322+ : "bg-gray-200 dark:bg-gray- 800 text-gray-700 dark:text-gray- 300 hover:bg-gray-300 dark: hover:bg-gray-700"
323323 } `}
324324 aria-pressed = { isActive }
325325 >
@@ -334,7 +334,7 @@ export default function DashboardClient() {
334334 < button
335335 type = "button"
336336 onClick = { clearFilters }
337- className = "rounded-full border border-gray-700 px-3 py-1.5 text-sm font-semibold text-gray-300 transition-colors hover:bg-gray-800"
337+ className = "rounded-full border border-gray-300 dark:border-gray- 700 px-3 py-1.5 text-sm font-semibold text-gray-600 dark:text-gray- 300 transition-colors hover:bg-gray-100 dark: hover:bg-gray-800"
338338 >
339339 Clear filters
340340 </ button >
@@ -363,15 +363,15 @@ export default function DashboardClient() {
363363 </ p >
364364 ) }
365365 { bulkReminderResults && (
366- < div className = "mb-4 rounded-lg bg-gray-800 border border-gray-700 p-4" >
367- < p className = "text-sm font-medium text-gray-300 mb-2" > Reminder scheduling results:</ p >
366+ < div className = "mb-4 rounded-lg bg-gray-100 dark:bg-gray- 800 border border-gray-200 dark: border-gray-700 p-4" >
367+ < p className = "text-sm font-medium text-gray-700 dark:text-gray- 300 mb-2" > Reminder scheduling results:</ p >
368368 < ul className = "flex flex-col gap-1" >
369369 { bulkReminderResults . map ( ( r ) => (
370370 < li key = { r . invoiceId } className = "text-xs flex items-center gap-2" >
371371 < span className = { r . success ? "text-green-400" : "text-red-400" } >
372372 { r . success ? "✓" : "✗" }
373373 </ span >
374- < span className = "text-gray-300" > Invoice #{ r . invoiceId } </ span >
374+ < span className = "text-gray-700 dark:text-gray- 300" > Invoice #{ r . invoiceId } </ span >
375375 { ! r . success && r . error && (
376376 < span className = "text-red-400" > { r . error } </ span >
377377 ) }
@@ -405,7 +405,7 @@ export default function DashboardClient() {
405405 </ Link >
406406 </ div >
407407 ) : visibleInvoices . length === 0 ? (
408- < div className = "rounded-xl border border-gray-800 bg-gray-900/60 p-6 text-center" >
408+ < div className = "rounded-xl border border-gray-200 dark:border-gray- 800 bg-gray-50 dark: bg-gray-900/60 p-6 text-center" >
409409 < p className = "text-gray-400" >
410410 { activePreset === "all"
411411 ? searchValue . trim ( )
@@ -526,26 +526,26 @@ export default function DashboardClient() {
526526 aria-label = "Schedule bulk reminders"
527527 className = "fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4"
528528 >
529- < div className = "bg-gray-900 rounded-2xl border border-gray-700 p-6 w-full max-w-sm" >
529+ < div className = "bg-white dark:bg- gray-900 rounded-2xl border border-gray-200 dark: border-gray-700 p-6 w-full max-w-sm" >
530530 < h2 className = "text-lg font-bold mb-4" > Schedule Reminders</ h2 >
531- < p className = "text-sm text-gray-400 mb-4" >
531+ < p className = "text-sm text-gray-600 dark:text-gray- 400 mb-4" >
532532 Applies to { reminderSelected . size } selected invoice{ reminderSelected . size !== 1 ? "s" : "" } .
533533 </ p >
534- < label htmlFor = "bulk-reminder-dt" className = "block text-sm font-medium text-gray-300 mb-1" >
534+ < label htmlFor = "bulk-reminder-dt" className = "block text-sm font-medium text-gray-700 dark:text-gray- 300 mb-1" >
535535 Reminder date & time
536536 </ label >
537537 < input
538538 id = "bulk-reminder-dt"
539539 type = "datetime-local"
540540 value = { reminderDateTime }
541541 onChange = { ( e ) => setReminderDateTime ( e . target . value ) }
542- className = "w-full min-h-11 bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 text-sm mb-4 focus:outline-none focus:ring-2 focus:ring-indigo-500"
542+ className = "w-full min-h-11 bg-gray-100 dark:bg-gray- 800 border border-gray-300 dark: border-gray-700 rounded-lg px-4 py-2 text-sm mb-4 focus:outline-none focus:ring-2 focus:ring-indigo-500"
543543 />
544544 < div className = "flex gap-3 justify-end" >
545545 < button
546546 type = "button"
547547 onClick = { ( ) => { setShowReminderPicker ( false ) ; setReminderDateTime ( "" ) ; } }
548- className = "px-4 py-2 rounded-lg bg-gray-700 hover:bg-gray-600 text-sm font-medium transition-colors"
548+ className = "px-4 py-2 rounded-lg bg-gray-200 dark:bg-gray- 700 hover:bg-gray-300 dark: hover:bg-gray-600 text-sm font-medium transition-colors"
549549 >
550550 Cancel
551551 </ button >
0 commit comments