@@ -74,10 +74,10 @@ function TaskBoard() {
7474 return (
7575 < div className = "task-board" data-testid = "task-board" >
7676 < div className = "mb-4 flex justify-between items-center" >
77- < h2 className = "font-semibold text-lg text-neutral-700" > Task Lists</ h2 >
77+ < h2 className = "font-semibold text-lg text-neutral-700 dark:text-neutral-200 " > Task Lists</ h2 >
7878 < button
7979 type = "button"
80- className = "flex items-center text-sm font-medium text-primary-600 hover:text-primary-800 transition-colors px-3 py-1.5 hover:bg-primary-50 rounded-lg"
80+ className = "flex items-center text-sm font-medium text-primary-600 hover:text-primary-800 dark:text-primary-300 dark:hover:text-primary-200 transition-colors px-3 py-1.5 hover:bg-primary-50 dark:hover:bg-neutral-800 rounded-lg"
8181 onClick = { handleManageTags }
8282 data-testid = "manage-tags-button"
8383 >
@@ -120,7 +120,7 @@ function TaskBoard() {
120120 return (
121121 < div
122122 key = { list . id }
123- className = "task-list-container bg-white rounded-xl shadow-soft w-full flex flex-col"
123+ className = "task-list-container bg-white dark:bg-neutral-900 dark:border dark:border-neutral-800 rounded-xl shadow-soft w-full flex flex-col transition-colors duration-300 "
124124 data-testid = { `task-list-${ list . id } ` }
125125 >
126126 { editingListId === list . id ? (
@@ -131,18 +131,18 @@ function TaskBoard() {
131131 />
132132 ) : (
133133 < >
134- < div className = "list-header p-4 border-b border-neutral-100 flex justify-between items-center" >
135- < h2 className = "font-medium text-lg" data-testid = { `list-title-${ list . id } ` } > { list . title } </ h2 >
134+ < div className = "list-header p-4 border-b border-neutral-100 dark:border-neutral-800 flex justify-between items-center" >
135+ < h2 className = "font-medium text-lg text-neutral-800 dark:text-neutral-100 " data-testid = { `list-title-${ list . id } ` } > { list . title } </ h2 >
136136 < div className = "flex items-center gap-2" >
137137 < span
138- className = "text-xs font-medium text-neutral-500 bg-neutral-100 px-2 py-0.5 rounded-xs"
138+ className = "text-xs font-medium text-neutral-500 dark:text-neutral-300 bg-neutral-100 dark:bg-neutral-800 px-2 py-0.5 rounded-xs"
139139 data-testid = { `task-count-${ list . id } ` }
140140 >
141141 { completedTasksCount } /{ filteredTasks . length }
142142 </ span >
143143 < button
144144 type = "button"
145- className = "text-sm text-neutral-500 hover:text-neutral-700 px-2 py-1 hover:bg-neutral-100 rounded-xs"
145+ className = "text-sm text-neutral-500 dark:text-neutral-300 hover:text-neutral-700 dark:hover:text-neutral-100 px-2 py-1 hover:bg-neutral-100 dark:hover:bg-neutral-800 rounded-xs"
146146 onClick = { ( ) => handleEditTaskList ( list . id ) }
147147 data-testid = { `edit-list-${ list . id } ` }
148148 >
@@ -151,7 +151,7 @@ function TaskBoard() {
151151 { list . id !== 'default' && (
152152 < button
153153 type = "button"
154- className = "text-sm text-rose-500 hover:text-rose-700 px-2 py-1 hover:bg-rose-50 rounded-xs"
154+ className = "text-sm text-rose-500 hover:text-rose-700 px-2 py-1 hover:bg-rose-50 dark:hover:bg-rose-950/40 rounded-xs"
155155 onClick = { ( ) => deleteTaskList ( list . id ) }
156156 data-testid = { `delete-list-${ list . id } ` }
157157 >
@@ -174,7 +174,7 @@ function TaskBoard() {
174174 < button
175175 type = "button"
176176 onClick = { ( ) => handleAddTaskToList ( list . id ) }
177- className = "mb-3 w-full py-2 px-3 flex items-center justify-center text-sm text-neutral-600 hover:text-primary-600 bg-neutral-50 hover:bg-neutral-100 rounded-lg border border-dashed border-neutral-300 hover:border-primary-300 transition-colors"
177+ className = "mb-3 w-full py-2 px-3 flex items-center justify-center text-sm text-neutral-600 dark:text-neutral-300 hover:text-primary-600 dark:hover:text-primary-300 bg-neutral-50 dark:bg-neutral-800 hover:bg-neutral-100 dark:hover:bg-neutral-700 rounded-lg border border-dashed border-neutral-300 dark:border-neutral-700 hover:border-primary-300 transition-colors"
178178 data-testid = { `add-task-to-list-${ list . id } ` }
179179 >
180180 < PlusIcon className = "h-4 w-4 mr-1.5" />
@@ -187,11 +187,11 @@ function TaskBoard() {
187187
188188 { /* List action buttons */ }
189189 { filteredTasks . length > 0 && (
190- < div className = "list-actions p-3 border-t border-neutral-100 flex justify-between" >
190+ < div className = "list-actions p-3 border-t border-neutral-100 dark:border-neutral-800 flex justify-between" >
191191 < motion . button
192192 type = "button"
193193 onClick = { ( ) => handleCompleteListTasks ( list . id ) }
194- className = "flex items-center text-xs font-medium text-primary-600 hover:text-primary-800 transition-colors px-2 py-1 hover:bg-primary-50 rounded-lg"
194+ className = "flex items-center text-xs font-medium text-primary-600 hover:text-primary-800 dark:text-primary-300 dark:hover:text-primary-200 transition-colors px-2 py-1 hover:bg-primary-50 dark:hover:bg-neutral-800 rounded-lg"
195195 disabled = { allTasksCompleted }
196196 whileHover = { { scale : allTasksCompleted ? 1 : 1.02 } }
197197 whileTap = { { scale : allTasksCompleted ? 1 : 0.98 } }
@@ -204,7 +204,7 @@ function TaskBoard() {
204204 < motion . button
205205 type = "button"
206206 onClick = { ( ) => handleDeleteListCompletedTasks ( list . id ) }
207- className = "flex items-center text-xs font-medium text-rose-500 hover:text-rose-700 transition-colors px-2 py-1 hover:bg-rose-50 rounded-lg"
207+ className = "flex items-center text-xs font-medium text-rose-500 hover:text-rose-700 transition-colors px-2 py-1 hover:bg-rose-50 dark:hover:bg-rose-950/40 rounded-lg"
208208 disabled = { ! hasCompletedTasks }
209209 whileHover = { { scale : ! hasCompletedTasks ? 1 : 1.02 } }
210210 whileTap = { { scale : ! hasCompletedTasks ? 1 : 0.98 } }
@@ -224,7 +224,7 @@ function TaskBoard() {
224224 { /* Add new task list button */ }
225225 < motion . button
226226 type = "button"
227- className = "add-list-button h-48 rounded-xl border-2 border-dashed border-neutral-200 flex flex-col items-center justify-center text-neutral-400 hover:text-primary-600 hover:border-primary-300 transition-colors"
227+ className = "add-list-button h-48 rounded-xl border-2 border-dashed border-neutral-200 dark:border-neutral-700 flex flex-col items-center justify-center text-neutral-400 dark:text-neutral-500 hover:text-primary-600 dark:hover:text-primary-300 hover:border-primary-300 transition-colors"
228228 onClick = { addTaskList }
229229 whileHover = { { scale : 1.02 } }
230230 whileTap = { { scale : 0.98 } }
@@ -238,4 +238,4 @@ function TaskBoard() {
238238 ) ;
239239}
240240
241- export default TaskBoard ;
241+ export default TaskBoard ;
0 commit comments