Skip to content

Commit

Permalink
chore: optimize player style
Browse files Browse the repository at this point in the history
Signed-off-by: Innei <i@innei.in>
  • Loading branch information
Innei committed Aug 6, 2024
1 parent 3d2bf62 commit a485395
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions icons/mgc/pause_cute_fi.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions src/renderer/src/modules/feed-column/corner-player.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const CornerPlayerImpl = () => {

return (
<>
<div className="relative flex border-y bg-theme-modal-background backdrop-blur transition-all duration-200 ease-in-out">
<div className="relative flex border-y bg-white transition-all duration-200 ease-in-out dark:bg-neutral-800">
{/* play cover */}
<div className="relative h-full">
<FeedIcon
Expand All @@ -125,10 +125,10 @@ const CornerPlayerImpl = () => {
>
<i
className={cn("size-6", {
"i-mingcute-pause-fill": playerValue.status === "playing",
"i-mingcute-loading-fill animate-spin":
"i-mgc-pause-cute-fi": playerValue.status === "playing",
"i-mgc-loading-3-cute-re animate-spin":
playerValue.status === "loading",
"i-mingcute-play-fill": playerValue.status === "paused",
"i-mgc-play-cute-fi": playerValue.status === "paused",
})}
/>
</button>
Expand Down

0 comments on commit a485395

Please sign in to comment.