Update icons

This commit is contained in:
Prayag Prajapati committed 2023-11-20 21:48:23 +05:30
1 parent 2482a83698
commit e28917f8d3
18 files changed
+273 -121

No files matched your search

+18 -5
View File
@@ -95,11 +95,24 @@ const LikeButton = ({
opacity: mutation.isPending ? 0.5 : 1,
}}
>
{isFavorite ? (
<MdiHeart sx={{ color: pink[700] }} />
) : (
<MdiHeartOutline sx={{ color: color }} />
)}
<div
className="material-symbols-rounded"
style={
isFavorite
? {
fontVariationSettings:
'"FILL" 1, "wght" 300, "GRAD" 25, "opsz" 40',
color: pink[700],
}
: {
fontVariationSettings:
'"FILL" 0, "wght" 300, "GRAD" 25, "opsz" 40',
color: "white",
}
}
>
favorite
</div>
</IconButton>
</div>
);