fix: display correct colour for create new label text on dark mode

This commit is contained in:
Henry
2025-05-27 21:31:33 +01:00
parent 8a81d1ff17
commit 09211e60c7
3 changed files with 13 additions and 13 deletions

View File

@@ -100,7 +100,7 @@ export default function CheckboxDropdown({
))}
{handleCreate && (
<button
className="flex w-full items-center rounded-[5px] p-2 px-2 text-[12px] hover:bg-light-200 dark:hover:bg-dark-300"
className="flex w-full items-center rounded-[5px] p-2 px-2 text-[12px] text-dark-900 hover:bg-light-200 dark:hover:bg-dark-300"
onClick={() => handleCreate()}
>
<HiMiniPlus size={20} className="pr-1.5" />
@@ -118,7 +118,7 @@ export default function CheckboxDropdown({
<>
<Menu.Button
as={asChild ? "div" : undefined}
className="h-full w-full focus-visible:outline-none"
className="h-full w-full cursor-pointer focus-visible:outline-none"
>
{children}
</Menu.Button>