@@ -63,23 +63,23 @@ export function DeploymentsList({
63
63
return (
64
64
< div
65
65
key = { index }
66
- className = { `p-3 rounded-lg border cursor-pointer transition-all duration-200 ${
66
+ className = { `p-3 rounded-lg border cursor-pointer transition-all duration-200 text-left w-full ${
67
67
selectedIndex === index
68
- ? 'bg-blue-50 border-blue-200 ring-1 ring-blue-200'
69
- : 'bg-white border-gray-200 hover:bg-gray-50'
68
+ ? 'bg-blue-50 border-blue-200 ring-1 ring-blue-200 dark:bg-blue-900 dark:border-blue-800 dark:ring-blue-800 '
69
+ : 'bg-white border-gray-200 hover:bg-gray-50 dark:bg-gray-800 dark:border-gray-700 dark:hover:bg-gray-700 '
70
70
} `}
71
71
onClick = { ( ) => onSelect ( index ) }
72
72
>
73
73
< div className = "flex items-center justify-between" >
74
74
< div className = "flex items-center space-x-3 min-w-0 flex-1" >
75
75
< div className = { `w-2 h-2 rounded-full flex-shrink-0 ${
76
- deployment . appName ? 'bg-green-500' : 'bg-gray-300'
76
+ deployment . appName ? 'bg-green-500 dark:bg-green-400 ' : 'bg-gray-300'
77
77
} `} />
78
78
< div className = "min-w-0 flex-1" >
79
- < div className = "font-medium text-gray-900 truncate" >
79
+ < div className = "font-medium text-gray-900 truncate dark:text-gray-100 " >
80
80
{ deployment . appName || 'Untitled Deployment' }
81
81
</ div >
82
- < div className = "text-sm text-gray-500 truncate" >
82
+ < div className = "text-sm text-gray-500 truncate dark:text-gray-400 " >
83
83
{ summary . primaryImage }
84
84
</ div >
85
85
< div className = "flex items-center space-x-2 mt-1" >
@@ -110,13 +110,13 @@ export function DeploymentsList({
110
110
< div className = "flex items-center space-x-1" >
111
111
< button
112
112
onClick = { handleCancelDelete }
113
- className = "px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded hover:bg-gray-200 transition-colors duration-200"
113
+ className = "px-2 py-1 text-xs bg-gray-100 text-gray-600 rounded hover:bg-gray-200 transition-colors duration-200 dark:bg-gray-700 dark:text-gray-300 "
114
114
>
115
115
Cancel
116
116
</ button >
117
117
< button
118
118
onClick = { ( e ) => handleConfirmDelete ( index , e ) }
119
- className = "px-2 py-1 text-xs bg-red-600 text-white rounded hover:bg-red-700 transition-colors duration-200 flex items-center space-x-1"
119
+ className = "px-2 py-1 text-xs bg-red-600 text-white rounded hover:bg-red-700 transition-colors duration-200 flex items-center space-x-1 dark:bg-red-600 dark:hover:bg-red-700 "
120
120
>
121
121
< AlertTriangle className = "w-3 h-3" />
122
122
< span > Delete</ span >
@@ -131,21 +131,21 @@ export function DeploymentsList({
131
131
onSelect ( index ) ;
132
132
onEdit ( ) ;
133
133
} }
134
- className = "p-1 text-gray-400 hover:text-gray-600 rounded transition-colors duration-200"
134
+ className = "p-1 text-gray-400 hover:text-gray-600 rounded transition-colors duration-200 dark:text-gray-300 dark:hover:text-gray-400 "
135
135
title = "Edit deployment"
136
136
>
137
137
< Settings className = "w-4 h-4" />
138
138
</ button >
139
139
< button
140
140
onClick = { ( e ) => handleDuplicateClick ( index , e ) }
141
- className = "p-1 text-gray-400 hover:text-blue-600 rounded transition-colors duration-200"
141
+ className = "p-1 text-gray-400 hover:text-blue-600 rounded transition-colors duration-200 dark:text-gray-300 dark:hover:text-blue-600 "
142
142
title = "Duplicate deployment"
143
143
>
144
144
< Copy className = "w-4 h-4" />
145
145
</ button >
146
146
< button
147
147
onClick = { ( e ) => handleDeleteClick ( index , e ) }
148
- className = "p-1 text-gray-400 hover:text-red-600 rounded transition-colors duration-200"
148
+ className = "p-1 text-gray-400 hover:text-red-600 rounded transition-colors duration-200 dark:text-gray-300 dark:hover:text-red-600 "
149
149
title = "Delete deployment"
150
150
>
151
151
< Trash2 className = "w-4 h-4" />
@@ -157,7 +157,7 @@ export function DeploymentsList({
157
157
158
158
{ /* Delete confirmation warning */ }
159
159
{ deleteConfirm === index && (
160
- < div className = "mt-2 p-2 bg-red-50 border border-red-200 rounded text-xs text-red-700" >
160
+ < div className = "mt-2 p-2 bg-red-50 border border-red-200 rounded text-xs text-red-700 dark:bg-red-50 dark:border-red-200 dark:text-red-700 " >
161
161
< div className = "flex items-center space-x-1 mb-1" >
162
162
< AlertTriangle className = "w-3 h-3" />
163
163
< span className = "font-medium" > Are you sure?</ span >
0 commit comments