Skip to content

Commit 3554c25

Browse files
committed
🔧 fix: incorrect color chip
1 parent f94152e commit 3554c25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/atoms/chip/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ const Chip: ChipComponent = ({
3636
type="button"
3737
className={combine(
3838
tw`inline-flex flex-row items-center appearance-none text-xl py-1 border border-solid dark:border-gray-600 rounded-full transition-colors`,
39-
active
40-
? tw`text-white dark:text-gray-200 border-black bg-black focus:bg-black dark:bg-gray-600 dark:focus:bg-gray-600`
41-
: tw`text-gray-700 dark:text-gray-200 border-gray-200 bg-transparent focus:bg-gray-100 dark:focus:bg-gray-700`,
4239
removable ? tw`pl-3 pr-1` : tw`px-3`,
4340
onClick
44-
? tw`hover:bg-gray-100 focus:bg-gray-100 dark:hover:bg-gray-700 cursor-pointer`
41+
? tw`dark:hover:bg-gray-700 cursor-pointer`
4542
: tw`cursor-default`,
43+
active
44+
? tw`text-white dark:text-gray-200 border-black bg-black focus:bg-black dark:bg-gray-600 dark:focus:bg-gray-600 `
45+
: tw`text-gray-700 dark:text-gray-200 border-gray-200 bg-transparent focus:bg-gray-100 dark:focus:bg-gray-700`,
4646
className
4747
)}
4848
onClick={handleClick}

0 commit comments

Comments
 (0)