Skip to content

Commit

Permalink
use fill
Browse files Browse the repository at this point in the history
  • Loading branch information
ap-justin committed Sep 3, 2024
1 parent c02cc72 commit e6f2d84
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
10 changes: 6 additions & 4 deletions src/components/BookmarkBtn.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,13 @@ export default function BookmarkBtn({
aria-label="Add to favorites button"
onClick={toogleBookmark}
disabled={isBookmarksLoading || isTogglingBookmark}
className={`flex items-center gap-1 disabled:text-gray-l4 ${
isBookmarked ? "text-red fill-red" : ""
} ${classes}`}
className={`flex items-center gap-1 disabled:text-gray-l4 ${classes}`}
>
<Icon type="Heart" size={19} />
<Icon
type="Heart"
size={19}
className={isBookmarked ? "fill-red text-red" : ""}
/>
{children}
</button>
</>
Expand Down
6 changes: 5 additions & 1 deletion src/components/VerifiedIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ export default function VerifiedIcon({ classes = "", size }: Props) {
<>
<Tooltip anchorRef={ref} content="Verified" />
<div ref={ref} className={classes}>
<Icon type="Verified" size={size} className="text-blue inline" />
<Icon
type="Verified"
size={size}
className="text-white inline fill-blue"
/>
</div>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Marketplace/Cards/Card.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default function Card({
{claimed && (
<VerifiedIcon
classes="inline relative bottom-px mr-1"
size={18}
size={21}
/>
)}
<span className="inline">{name}</span>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Profile/Body/Body.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ function Body() {
{(p.claimed ?? true) && (
<VerifiedIcon
classes="relative inline bottom-px mr-2"
size={24}
size={27}
/>
)}
<span>{p.name}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default function EndowDesignationTag({
return (
<div className="flex flex-col items-start gap-3">
<Tag>
<Icon type={icons[endow_designation]} size={22} /> {endow_designation}
<Icon type={icons[endow_designation]} size={20} /> {endow_designation}
</Tag>
</div>
);
Expand Down

0 comments on commit e6f2d84

Please sign in to comment.