Skip to content

Commit

Permalink
changed trash icon color instead of entire icon
Browse files Browse the repository at this point in the history
  • Loading branch information
naman-bruno committed Jan 15, 2025
1 parent cc5d886 commit dee59f5
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions packages/bruno-app/src/components/RemoveButton/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,11 @@ const RemoveButton = ({ onClick }) => {
type="button"
onClick={handleClick}
className={`flex items-center justify-center ${
isConfirming && 'text-yellow-500 hover:text-yellow-700'
isConfirming && 'text-red-400'
} focus:outline-none transition-colors duration-300`}
aria-label={isConfirming ? 'Confirm delete' : 'Delete'}
>
{isConfirming ? (
<IconAlertCircle strokeWidth={1.5} size={20} />
) : (
<IconTrash strokeWidth={1.5} size={20} />
)}
<IconTrash strokeWidth={1.5} size={20} />
</button>
);
};
Expand Down

0 comments on commit dee59f5

Please sign in to comment.