From 2ec0c2908788a6e09563885155290841304bd9ab Mon Sep 17 00:00:00 2001 From: Teo Date: Sat, 14 Jun 2025 15:03:58 +0800 Subject: [PATCH] style: change hover color --- src/renderer/src/pages/home/MainSidebar/MainSidebar.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/home/MainSidebar/MainSidebar.tsx b/src/renderer/src/pages/home/MainSidebar/MainSidebar.tsx index 93782fa5db..385c84c16e 100644 --- a/src/renderer/src/pages/home/MainSidebar/MainSidebar.tsx +++ b/src/renderer/src/pages/home/MainSidebar/MainSidebar.tsx @@ -355,7 +355,7 @@ const Icon = styled.div<{ theme: string }>` height: 34px; } &:hover { - background-color: var(--color-background-mute); + background-color: var(--color-list-item); opacity: 0.8; cursor: pointer; .icon { @@ -363,7 +363,7 @@ const Icon = styled.div<{ theme: string }>` } } &.active { - background-color: ${({ theme }) => (theme === 'dark' ? 'var(--color-black)' : 'var(--color-white)')}; + background-color: var(--color-list-item); border: 0.5px solid var(--color-border); .icon { color: var(--color-primary);