Skip to content

Commit

Permalink
[GEN-1718]: Notification icon BG (as per Figma) (#1765)
Browse files Browse the repository at this point in the history
Co-authored-by: Alon Braymok <138359965+alonkeyval@users.noreply.github.com>
  • Loading branch information
BenElferink and alonkeyval authored Nov 17, 2024
1 parent e9fa5d7 commit a8f6655
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,17 @@ import theme, { hexPercentValues } from '@/styles/theme';
import { NoDataFound, Text } from '@/reuseable-components';
import type { Notification, NotificationType } from '@/types';

const Icon = styled.div`
const BellIcon = styled.div`
position: relative;
width: 36px;
height: 36px;
border-radius: 100%;
background-color: ${({ theme }) => theme.colors.white_opacity['008']};
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
&:hover {
background-color: ${({ theme }) => theme.colors.white_opacity['20']};
background-color: ${({ theme }) => theme.colors.white_opacity['008']};
}
`;

Expand Down Expand Up @@ -107,10 +106,10 @@ export const NotificationManager = () => {

return (
<RelativeContainer ref={containerRef}>
<Icon onClick={toggleOpen}>
<BellIcon onClick={toggleOpen}>
{!!unseenCount && <LiveBadge />}
<Image src='/icons/common/notification.svg' alt='logo' width={16} height={16} />
</Icon>
</BellIcon>

{isOpen && (
<AbsoluteContainer>
Expand Down

0 comments on commit a8f6655

Please sign in to comment.