Skip to content

Commit 865819e

Browse files
committed
[style] svg fill수정
1 parent def05b8 commit 865819e

File tree

6 files changed

+13
-16
lines changed

6 files changed

+13
-16
lines changed
Lines changed: 2 additions & 2 deletions
Loading

src/shared/assets/icons/menu_32.svg

Lines changed: 1 addition & 1 deletion
Loading

src/shared/assets/icons/share_24.svg

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Loading

src/shared/components/like/LikeBtn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function LikeBtn() {
1616
onClick={handleClick}
1717
>
1818
<LikeIcon
19-
fill={`${isClick ? '#81689d' : null}`}
19+
fill={`${isClick ? '#81689d' : 'transparent'}`}
2020
className="duration-100 hover:[&_*]:fill-tertiary/50 [&_*]:duration-200"
2121
aria-hidden
2222
/>

src/shared/components/share/Share.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ShareBtn from '@/shared/assets/icons/share_24.svg';
1+
import ShareBtn from '@/shared/assets/icons/share_28.svg';
22

33
interface Props {
44
onClick?: () => void;
@@ -21,7 +21,11 @@ function Share({ onClick, variants = 'default', title, content }: Props) {
2121
aria-label="공유하기"
2222
onClick={onClick}
2323
>
24-
<ShareBtn className="duration-100 hover:[&_*]:fill-white/50 [&_*]:duration-200" aria-hidden />
24+
<ShareBtn
25+
fill="transparent"
26+
className="duration-100 object-contain hover:[&_*]:fill-white/50 [&_*]:duration-200"
27+
aria-hidden
28+
/>
2529
</button>
2630
);
2731
}

0 commit comments

Comments
 (0)