From b3012a88209b0649a3f629f7bb069a895ead36f7 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Wed, 14 Dec 2022 20:09:19 -0800 Subject: [PATCH] Adjust now playing header --- .../features/now-playing/components/now-playing-header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/renderer/src/features/now-playing/components/now-playing-header.tsx b/packages/renderer/src/features/now-playing/components/now-playing-header.tsx index 9bd51728..2600e084 100644 --- a/packages/renderer/src/features/now-playing/components/now-playing-header.tsx +++ b/packages/renderer/src/features/now-playing/components/now-playing-header.tsx @@ -7,7 +7,7 @@ import { getHeaderColor } from '/@/utils'; import { useTheme } from '/@/hooks'; export const NowPlayingHeader = () => { - const [headerColor, setHeaderColor] = useState({ isDark: false, value: 'transparent' }); + const [headerColor, setHeaderColor] = useState({ isDark: false, value: 'rgba(0, 0, 0, 0)' }); const currentSong = useCurrentSong(); const theme = useTheme(); @@ -29,7 +29,7 @@ export const NowPlayingHeader = () => { const isDark = color.isDark; setHeaderColor({ isDark, - value: getHeaderColor(color.rgb, theme === 'dark' ? 0.3 : 0.8), + value: getHeaderColor(color.rgb, theme === 'dark' ? 0.5 : 0.8), }); }) .catch((e) => {