@@ -32,9 +32,9 @@ import {
3232 Download ,
3333 Github ,
3434 GitlabIcon as GitLab ,
35- Loader2 ,
3635 Maximize ,
3736 Minimize ,
37+ RefreshCw ,
3838 Search ,
3939 Settings ,
4040} from "lucide-react"
@@ -302,7 +302,7 @@ export default function RepoProjectStructure() {
302302
303303 < div className = "flex flex-col space-y-3 sm:flex-row sm:space-y-0 sm:space-x-4" >
304304 < 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" >
306306 < SelectValue placeholder = "Select repo type" />
307307 </ SelectTrigger >
308308 < SelectContent >
@@ -320,7 +320,7 @@ export default function RepoProjectStructure() {
320320 placeholder = { `Enter ${ repoType === "github" ? "GitHub" : "GitLab" } repository URL` }
321321 value = { repoUrl }
322322 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" : "" } ` }
324324 ref = { inputRef }
325325 />
326326 { repoUrl && (
@@ -336,17 +336,17 @@ export default function RepoProjectStructure() {
336336 < Button
337337 onClick = { ( ) => handleFetchStructure ( ) }
338338 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"
340340 aria-label = { `Generate ${ repoType === "github" ? "GitHub" : "GitLab" } structure` }
341341 >
342342 { loading ? (
343- < Loader2 className = "h-5 w-5 animate-spin" />
343+ < RefreshCw className = "h-5 w-5 animate-spin" />
344344 ) : repoType === "github" ? (
345345 < Github className = "h-5 w-5" />
346346 ) : (
347347 < GitLab className = "h-5 w-5" />
348348 ) }
349- Generate
349+ { loading ? "Generating..." : " Generate" }
350350 </ Button >
351351 </ div >
352352
@@ -390,7 +390,7 @@ export default function RepoProjectStructure() {
390390 placeholder = "Search files/folders"
391391 value = { searchTerm }
392392 onChange = { ( e ) => setSearchTerm ( e . target . value ) }
393- className = "pl-8 w-full"
393+ className = "pl-8 w-full border-blue-500 "
394394 />
395395 < Search className = "absolute left-2 top-1/2 transform -translate-y-1/2 text-gray-400" size = { 16 } />
396396 </ div >
@@ -453,7 +453,7 @@ export default function RepoProjectStructure() {
453453 aria-label = "Download Format"
454454 >
455455 < 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 "
457457 aria-label = "Select download format"
458458 >
459459 < SelectValue placeholder = "Select format" />
0 commit comments