From bd9cbea9b78b1a662906418d48bf524abfd5df23 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 29 Dec 2022 19:23:07 -0800 Subject: [PATCH] Adjust play button styles --- src/renderer/features/shared/components/play-button.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/renderer/features/shared/components/play-button.tsx b/src/renderer/features/shared/components/play-button.tsx index 66152c31..4c0adb5f 100644 --- a/src/renderer/features/shared/components/play-button.tsx +++ b/src/renderer/features/shared/components/play-button.tsx @@ -4,9 +4,16 @@ import styled from 'styled-components'; import { ButtonProps, _Button } from '/@/renderer/components'; const MotionButton = styled(motion(_Button))` + display: flex; + align-items: center; + justify-content: center; width: 50px; height: 50px; + background-color: var(--primary-color); + border: none; border-radius: 50%; + opacity: 0.8; + transition: background-color 0.2s linear; `; export const PlayButton = ({ ...props }: Omit) => { @@ -17,7 +24,7 @@ export const PlayButton = ({ ...props }: Omit) => { whileTap={{ scale: 0.95 }} {...props} > - + ); };