@@ -32,9 +32,9 @@ import {
32
32
Download ,
33
33
Github ,
34
34
GitlabIcon as GitLab ,
35
- Loader2 ,
36
35
Maximize ,
37
36
Minimize ,
37
+ RefreshCw ,
38
38
Search ,
39
39
Settings ,
40
40
} from "lucide-react"
@@ -302,7 +302,7 @@ export default function RepoProjectStructure() {
302
302
303
303
< div className = "flex flex-col space-y-3 sm:flex-row sm:space-y-0 sm:space-x-4" >
304
304
< Select value = { repoType } onValueChange = { ( value : RepoType ) => setRepoType ( value ) } >
305
- < SelectTrigger className = "w-[180px]" aria-label = "Repository Type" >
305
+ < SelectTrigger className = "w-[180px] bg-white dark:bg-gray-800 text-black dark:text-white border-blue-500 " aria-label = "Repository Type" >
306
306
< SelectValue placeholder = "Select repo type" />
307
307
</ SelectTrigger >
308
308
< SelectContent >
@@ -320,7 +320,7 @@ export default function RepoProjectStructure() {
320
320
placeholder = { `Enter ${ repoType === "github" ? "GitHub" : "GitLab" } repository URL` }
321
321
value = { repoUrl }
322
322
onChange = { handleUrlChange }
323
- className = { `p-3 pr-10 text-base sm:text-lg text-black dark:text-white ${ validation . isError ? "border-red-500" : "" } ` }
323
+ className = { `p-3 pr-10 text-base sm:text-lg text-black dark:text-white border-blue-500 ${ validation . isError ? "border-red-500" : "" } ` }
324
324
ref = { inputRef }
325
325
/>
326
326
{ repoUrl && (
@@ -336,17 +336,17 @@ export default function RepoProjectStructure() {
336
336
< Button
337
337
onClick = { ( ) => handleFetchStructure ( ) }
338
338
disabled = { loading || validation . isError }
339
- className = "w-full sm:w-auto flex items-center justify-center py-3 px-6 bg-blue-600 hover:bg-blue-700 text-white text-base sm:text-lg transition-colors duration-300"
339
+ className = "w-full sm:w-auto flex items-center justify-center gap-2 py-3 px-6 bg-blue-600 hover:bg-blue-700 text-white text-base sm:text-lg transition-colors duration-300"
340
340
aria-label = { `Generate ${ repoType === "github" ? "GitHub" : "GitLab" } structure` }
341
341
>
342
342
{ loading ? (
343
- < Loader2 className = "h-5 w-5 animate-spin" />
343
+ < RefreshCw className = "h-5 w-5 animate-spin" />
344
344
) : repoType === "github" ? (
345
345
< Github className = "h-5 w-5" />
346
346
) : (
347
347
< GitLab className = "h-5 w-5" />
348
348
) }
349
- Generate
349
+ { loading ? "Generating..." : " Generate" }
350
350
</ Button >
351
351
</ div >
352
352
@@ -390,7 +390,7 @@ export default function RepoProjectStructure() {
390
390
placeholder = "Search files/folders"
391
391
value = { searchTerm }
392
392
onChange = { ( e ) => setSearchTerm ( e . target . value ) }
393
- className = "pl-8 w-full"
393
+ className = "pl-8 w-full border-blue-500 "
394
394
/>
395
395
< Search className = "absolute left-2 top-1/2 transform -translate-y-1/2 text-gray-400" size = { 16 } />
396
396
</ div >
@@ -453,7 +453,7 @@ export default function RepoProjectStructure() {
453
453
aria-label = "Download Format"
454
454
>
455
455
< SelectTrigger
456
- className = "w-[180px] bg-white dark:bg-gray-800 text-black dark:text-white"
456
+ className = "w-[180px] bg-white dark:bg-gray-800 text-black dark:text-white border-blue-500 "
457
457
aria-label = "Select download format"
458
458
>
459
459
< SelectValue placeholder = "Select format" />
0 commit comments