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>
);
+6 -3
View File
@@ -87,11 +87,14 @@ const MarkPlayedButton = ({ itemId, isPlayed, queryKey, userId, itemName }) => {
opacity: mutation.isPending ? 0.5 : 1,
}}
>
<MdiCheck
sx={{
<div
className="material-symbols-rounded"
style={{
color: isPlayed ? green[400] : "white",
}}
/>
>
done
</div>
</IconButton>
</div>
);
+18 -4
View File
@@ -7,8 +7,6 @@ import Fab from "@mui/material/Fab";
import LinearProgress from "@mui/material/LinearProgress";
import Typography from "@mui/material/Typography";
import { MdiPlayOutline } from "../icons/mdiPlayOutline";
import {
usePlaybackDataLoadStore,
usePlaybackStore,
@@ -330,7 +328,14 @@ const PlayButton = ({
size={size}
{...buttonProps}
>
<MdiPlayOutline {...iconProps} />
<div
className="material-symbols-rounded em-4"
style={{
fontSize: "3em",
}}
>
play_arrow
</div>
</Fab>
);
} else {
@@ -339,7 +344,16 @@ const PlayButton = ({
className={className}
variant="contained"
onClick={handleClick}
startIcon={<MdiPlayOutline />}
startIcon={
<div
className="material-symbols-rounded"
style={{
fontSize: "2em",
}}
>
play_arrow
</div>
}
{...buttonProps}
sx={{
position: "relative",