Skip to content

Commit

Permalink
Fixed bookmark button style
Browse files Browse the repository at this point in the history
  • Loading branch information
Zafeeruddin committed Sep 16, 2024
1 parent 4da2348 commit 7d787a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/bookmark/BookmarkButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,11 @@ const BookmarkButton = ({
>
<BookmarkIcon
size={size}
{...(addedBookmark && { fill: '#2563EB' })}
className="drop-shadow-2xl"
className={`drop-shadow-2xl transition-colors duration-300 ${
addedBookmark
? 'stroke-blue-500 stroke-2 text-blue-500'
: 'text-gray-400 hover:text-gray-600'
}`}
/>
</Button>
</TooltipTrigger>
Expand Down

0 comments on commit 7d787a8

Please sign in to comment.