|
65 | 65 | > |
66 | 66 | <div class="flex items-start justify-center pt-24 p-4"> |
67 | 67 | <div |
68 | | - class="w-full max-w-xl bg-gray-900/95 rounded-lg shadow-2xl border border-gray-800/50" |
| 68 | + class="w-full max-w-xl bg-zinc-900/95 rounded-lg shadow-2xl border border-zinc-800/50" |
69 | 69 | transition:fly={{ y: -20, duration: 300, easing: cubicOut }} |
70 | 70 | > |
71 | | - <div class="flex items-center justify-between p-4 border-b border-gray-800/50"> |
| 71 | + <div class="flex items-center justify-between p-4 border-b border-zinc-800/50"> |
72 | 72 | <h2 class="text-lg font-medium text-white">Select Project</h2> |
73 | 73 | <button |
74 | | - class="text-gray-400 hover:text-white transition-all duration-200 transform hover:scale-110" |
| 74 | + class="text-zinc-400 hover:text-white transition-all duration-200 transform hover:scale-110" |
75 | 75 | aria-label="close modal" |
76 | 76 | onclick={handleClose} |
77 | 77 | > |
|
87 | 87 | value={searchTerm} |
88 | 88 | oninput={handleInput} |
89 | 89 | placeholder="Search projects..." |
90 | | - class="w-full px-3 py-2 text-white bg-gray-800/50 border border-gray-700/50 rounded-md focus:ring-1 focus:ring-purple-500 focus:border-transparent text-sm transition-all duration-200" |
| 90 | + class="w-full px-3 py-2 text-white bg-zinc-800/50 border border-zinc-700/50 rounded-md focus:ring-1 focus:ring-purple-500 focus:border-transparent text-sm transition-all duration-200" |
91 | 91 | /> |
92 | 92 | </div> |
93 | 93 |
|
|
97 | 97 | <div class="animate-spin rounded-full h-6 w-6 border-2 border-purple-500 border-t-transparent"></div> |
98 | 98 | </div> |
99 | 99 | {:else if filteredProjects.length === 0} |
100 | | - <div class="text-center py-6 text-gray-400 text-sm"> |
| 100 | + <div class="text-center py-6 text-zinc-400 text-sm"> |
101 | 101 | No projects found |
102 | 102 | </div> |
103 | 103 | {:else} |
104 | 104 | <div class="space-y-2"> |
105 | | - {#each filteredProjects as project (project.name)} |
| 105 | + {#each filteredProjects as project (project.id)} |
106 | 106 | <button |
107 | | - class="w-full flex items-center p-3 bg-gray-800/30 rounded-md hover:bg-gray-700/50 transition-all duration-200 text-left group hover:translate-x-1" |
| 107 | + class="w-full flex items-center p-3 bg-zinc-800/30 rounded-md hover:bg-zinc-700/50 transition-all duration-200 text-left group hover:translate-x-1" |
108 | 108 | onclick={() => handleProjectSelect(project)} |
109 | 109 | > |
110 | 110 | <div class="flex-1 min-w-0"> |
111 | 111 | <h3 class="text-sm font-medium text-white truncate group-hover:text-purple-400 transition-colors duration-200"> |
112 | 112 | {project.name} |
113 | 113 | </h3> |
114 | | - <p class="text-xs text-gray-400 mt-0.5 truncate">{project.description}</p> |
| 114 | + <p class="text-xs text-zinc-400 mt-0.5 truncate">{project.description}</p> |
115 | 115 | </div> |
116 | | - <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-gray-400 group-hover:text-purple-400 transition-all duration-200 transform group-hover:translate-x-1" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
| 116 | + <svg xmlns="http://www.w3.org/2000/svg" class="h-4 w-4 text-zinc-400 group-hover:text-purple-400 transition-all duration-200 transform group-hover:translate-x-1" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
117 | 117 | <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7" /> |
118 | 118 | </svg> |
119 | 119 | </button> |
|
0 commit comments