Update icons
This commit is contained in:
18 files changed
+273
-121
No files matched your search
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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>
|
||||
);
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user