From ed2b99a9dae31aa8b376adf50b037fa2325e3fb8 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Mon, 6 Mar 2023 11:44:14 +0800 Subject: [PATCH] Fix hover colors on the filter menu --- .../templates/homeFeed/LibraryFilterMenu.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx index d9fc50cc6..82c0fd7e2 100644 --- a/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx +++ b/packages/web/components/templates/homeFeed/LibraryFilterMenu.tsx @@ -190,7 +190,7 @@ function MenuPanel(props: MenuPanelProps): JSX.Element { justifyContent: 'center', borderRadius: '1000px', '&:hover': { - bg: '#EBEBEB', + bg: '$thBackground4', }, }} > @@ -249,11 +249,11 @@ function FilterButton(props: FilterButtonProps): JSX.Element { width: '100%', maxWidth: '100%', height: '32px', - backgroundColor: selected ? '$thBackground2' : 'unset', + backgroundColor: selected ? '#FFEA9F' : 'unset', fontSize: '14px', fontWeight: 'regular', fontFamily: '$display', - color: '$thTextSubtle', + color: selected ? '#3D3D3D' : '$thTextSubtle', verticalAlign: 'middle', borderRadius: '3px', cursor: 'pointer', @@ -262,10 +262,10 @@ function FilterButton(props: FilterButtonProps): JSX.Element { whiteSpace: 'nowrap', alignItems: 'center', '&:hover': { - backgroundColor: selected ? '#FFEA9F' : '#EBEBEB', + backgroundColor: selected ? '#FFEA9F' : '$thBackground4', }, '&:active': { - backgroundColor: '#FFEA9F', + backgroundColor: selected ? '#FFEA9F' : '$thBackground4', }, }} onClick={(e) => {