@@ -42,7 +42,7 @@ export function DockerRunPopup({ isOpen, onClose }: DockerRunPopupProps) {
42
42
/>
43
43
44
44
{ /* Popup Container */ }
45
- < div className = "relative bg-white rounded-xl shadow-2xl w-full max-w-4xl mx-auto overflow-hidden max-h-[90vh] flex flex-col" >
45
+ < div className = "relative bg-white dark:bg-gray-800 rounded-xl shadow-2xl w-full max-w-4xl mx-auto overflow-hidden max-h-[90vh] flex flex-col" >
46
46
{ /* Header */ }
47
47
< div className = "flex items-center justify-between p-4 sm:p-6 border-b border-gray-200 bg-gradient-to-r from-blue-600 to-blue-700 text-white flex-shrink-0" >
48
48
< div className = "flex items-center space-x-3 min-w-0 flex-1" >
@@ -66,17 +66,17 @@ export function DockerRunPopup({ isOpen, onClose }: DockerRunPopupProps) {
66
66
{ /* Content */ }
67
67
< div className = "flex-1 overflow-y-auto p-4 sm:p-6 space-y-4 sm:space-y-6" >
68
68
{ /* Quick Start */ }
69
- < div className = "bg-gradient-to-r from-green-50 to-emerald-50 rounded-lg p-3 sm:p-4 border border-green-200" >
69
+ < div className = "bg-gradient-to-r from-green-50 to-emerald-50 rounded-lg p-3 sm:p-4 border border-green-200 dark:bg-gradient-to-r dark:from-green-900 dark:to-emerald-900 dark:border-green-800 " >
70
70
< div className = "flex items-center space-x-2 mb-3" >
71
71
< Play className = "w-4 h-4 sm:w-5 sm:h-5 text-green-600 flex-shrink-0" />
72
- < h4 className = "font-semibold text-green-900 text-sm sm:text-base" > Quick Start</ h4 >
72
+ < h4 className = "font-semibold text-green-900 text-sm sm:text-base dark:text-green-200 " > Quick Start</ h4 >
73
73
</ div >
74
- < p className = "text-xs sm:text-sm text-green-800 mb-3 sm:mb-4" >
74
+ < p className = "text-xs sm:text-sm text-green-800 mb-3 sm:mb-4 dark:text-green-200 " >
75
75
Run this single command to pull and start Kube Composer locally in the background:
76
76
</ p >
77
77
78
78
{ /* Command Box */ }
79
- < div className = "bg-gray-900 rounded-lg p-3 sm:p-4 relative" >
79
+ < div className = "bg-gray-900 rounded-lg p-3 sm:p-4 relative dark:bg-gray-800 dark:border-gray-700 " >
80
80
< div className = "flex flex-col sm:flex-row sm:items-center sm:justify-between mb-2 space-y-2 sm:space-y-0" >
81
81
< div className = "flex items-center space-x-2" >
82
82
< Terminal className = "w-3 h-3 sm:w-4 sm:h-4 text-gray-400 flex-shrink-0" />
@@ -107,13 +107,13 @@ export function DockerRunPopup({ isOpen, onClose }: DockerRunPopupProps) {
107
107
</ div >
108
108
109
109
{ /* Step by Step Instructions */ }
110
- < div className = "space-y-3 sm:space-y-4" >
111
- < h4 className = "font-semibold text-gray-900 flex items-center space-x-2 text-sm sm:text-base" >
110
+ < div className = "space-y-3 sm:space-y-4 dark:text-gray-200 " >
111
+ < h4 className = "font-semibold text-gray-900 flex items-center space-x-2 text-sm sm:text-base dark:text-gray-200 " >
112
112
< span className = "w-5 h-5 sm:w-6 sm:h-6 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-xs sm:text-sm font-bold flex-shrink-0" > 1</ span >
113
113
< span > Prerequisites</ span >
114
114
</ h4 >
115
115
< div className = "ml-6 sm:ml-8 space-y-2" >
116
- < p className = "text-xs sm:text-sm text-gray-600" >
116
+ < p className = "text-xs sm:text-sm text-gray-600 dark:text-gray-200 " >
117
117
Make sure you have Docker installed on your system:
118
118
</ p >
119
119
< div className = "flex flex-col sm:flex-row sm:items-center space-y-2 sm:space-y-0 sm:space-x-4" >
@@ -140,35 +140,35 @@ export function DockerRunPopup({ isOpen, onClose }: DockerRunPopupProps) {
140
140
</ div >
141
141
</ div >
142
142
143
- < h4 className = "font-semibold text-gray-900 flex items-center space-x-2 text-sm sm:text-base" >
143
+ < h4 className = "font-semibold text-gray-900 flex items-center space-x-2 text-sm sm:text-base dark:text-gray-200 " >
144
144
< span className = "w-5 h-5 sm:w-6 sm:h-6 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-xs sm:text-sm font-bold flex-shrink-0" > 2</ span >
145
145
< span > Run the Command</ span >
146
146
</ h4 >
147
147
< div className = "ml-6 sm:ml-8 space-y-2" >
148
- < p className = "text-xs sm:text-sm text-gray-600" >
148
+ < p className = "text-xs sm:text-sm text-gray-600 dark:text-gray-200 " >
149
149
Open your terminal and run the command above. This will:
150
150
</ p >
151
- < ul className = "text-xs sm:text-sm text-gray-600 space-y-1 list-disc list-inside ml-2 sm:ml-4" >
151
+ < ul className = "text-xs sm:text-sm text-gray-600 space-y-1 list-disc list-inside ml-2 sm:ml-4 dark:text-gray-200 " >
152
152
< li > Pull the latest Kube Composer Docker image</ li >
153
153
< li > Start the container in detached mode (background)</ li >
154
- < li > Make it accessible at < code className = "bg-gray-100 px-1 rounded text-xs" > http://localhost:8080</ code > </ li >
154
+ < li > Make it accessible at < code className = "bg-gray-100 px-1 rounded text-xs dark:bg-gray-700 " > http://localhost:8080</ code > </ li >
155
155
</ ul >
156
156
</ div >
157
157
158
- < h4 className = "font-semibold text-gray-900 flex items-center space-x-2 text-sm sm:text-base" >
158
+ < h4 className = "font-semibold text-gray-900 flex items-center space-x-2 text-sm sm:text-base dark:text-gray-200 " >
159
159
< span className = "w-5 h-5 sm:w-6 sm:h-6 bg-blue-100 text-blue-600 rounded-full flex items-center justify-center text-xs sm:text-sm font-bold flex-shrink-0" > 3</ span >
160
160
< span > Access the Application</ span >
161
161
</ h4 >
162
162
< div className = "ml-6 sm:ml-8 space-y-2" >
163
- < p className = "text-xs sm:text-sm text-gray-600" >
163
+ < p className = "text-xs sm:text-sm text-gray-600 dark:text-gray-200 " >
164
164
Once the container is running, open your browser and navigate to:
165
165
</ p >
166
- < div className = "bg-blue-50 border border-blue-200 rounded-lg p-3" >
166
+ < div className = "bg-blue-50 border border-blue-200 rounded-lg p-3 dark:bg-blue-700 dark:border-blue-600 " >
167
167
< a
168
168
href = "http://localhost:8080"
169
169
target = "_blank"
170
170
rel = "noopener noreferrer"
171
- className = "inline-flex items-center space-x-2 text-blue-700 hover:text-blue-800 font-medium text-sm sm:text-base break-all"
171
+ className = "inline-flex items-center space-x-2 text-blue-700 hover:text-blue-800 font-medium text-sm sm:text-base break-all dark:text-blue-200 "
172
172
>
173
173
< span > http://localhost:8080</ span >
174
174
< ExternalLink className = "w-3 h-3 sm:w-4 sm:h-4 flex-shrink-0" />
@@ -178,9 +178,9 @@ export function DockerRunPopup({ isOpen, onClose }: DockerRunPopupProps) {
178
178
</ div >
179
179
180
180
{ /* Benefits */ }
181
- < div className = "bg-gradient-to-r from-purple-50 to-indigo-50 rounded-lg p-3 sm:p-4 border border-purple-200" >
182
- < h4 className = "font-semibold text-purple-900 mb-3 text-sm sm:text-base" > Why Run Locally?</ h4 >
183
- < ul className = "text-xs sm:text-sm text-purple-800 space-y-1" >
181
+ < div className = "bg-gradient-to-r from-purple-50 to-indigo-50 rounded-lg p-3 sm:p-4 border border-purple-200 dark:bg-gradient-to-r dark:from-purple-900 dark:to-indigo-900 dark:border-purple-800 " >
182
+ < h4 className = "font-semibold text-purple-900 mb-3 text-sm sm:text-base dark:text-purple-200 " > Why Run Locally?</ h4 >
183
+ < ul className = "text-xs sm:text-sm text-purple-800 space-y-1 dark:text-purple-200 " >
184
184
< li > • < strong > Privacy:</ strong > Your data never leaves your machine</ li >
185
185
< li > • < strong > Speed:</ strong > No network latency, instant responses</ li >
186
186
< li > • < strong > Offline:</ strong > Works without internet connection</ li >
@@ -190,12 +190,12 @@ export function DockerRunPopup({ isOpen, onClose }: DockerRunPopupProps) {
190
190
</ div >
191
191
192
192
{ /* Footer */ }
193
- < div className = "flex flex-col sm:flex-row sm:items-center sm:justify-between p-4 sm:p-6 border-t border-gray-200 bg-gray-50 space-y-3 sm:space-y-0 flex-shrink-0" >
194
- < div className = "text-xs sm:text-sm text-gray-600" >
193
+ < div className = "flex flex-col sm:flex-row sm:items-center sm:justify-between p-4 sm:p-6 border-t border-gray-200 bg-gray-50 dark:bg-gray-800 space-y-3 sm:space-y-0 flex-shrink-0" >
194
+ < div className = "text-xs sm:text-sm text-gray-600 dark:text-gray-200 " >
195
195
< p className = "flex items-center" >
196
196
< Docker className = "w-3 h-3 sm:w-4 sm:h-4 mr-2 text-blue-600 flex-shrink-0" />
197
197
< span className = "mr-1" > Image:</ span >
198
- < code className = "bg-gray-200 px-1 rounded text-xs break-all" > same7ammar/kube-composer</ code >
198
+ < code className = "bg-gray-200 px-1 rounded text-xs break-all dark:bg-gray-700 dark:text-gray-200 " > same7ammar/kube-composer</ code >
199
199
</ p >
200
200
</ div >
201
201
< div className = "flex flex-col sm:flex-row sm:items-center space-y-2 sm:space-y-0 sm:space-x-3" >
0 commit comments