Skip to content

Commit e68cf17

Browse files
🎨 style(TaskContextMenu): enhance contrast ratio and update button text (#1325)
1 parent 8f15e86 commit e68cf17

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/web/src/views/Day/components/ContextMenu/TaskContextMenuItems.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ export function TaskContextMenuItems({ task, close }: Props) {
1616
};
1717

1818
return (
19-
<li className="border-b border-gray-600 last:border-b-0">
19+
<li className="border-bg-secondary bg-bg-primary text-text-light hover:bg-bg-secondary hover:text-text-lighter border-b last:border-b-0">
2020
<button
2121
onClick={handleDelete}
22-
className="flex w-full cursor-pointer items-center gap-2 px-3 py-2.5 text-left text-sm text-gray-200 hover:bg-gray-700"
22+
className="flex w-full cursor-pointer items-center gap-2 rounded-sm px-3 py-2.5 text-left text-sm"
2323
>
24-
<TrashIcon size={16} className="text-gray-300" />
24+
<TrashIcon size={16} />
2525
<span>Delete Task</span>
2626
</button>
2727
</li>

0 commit comments

Comments
 (0)