From 19a6777512d9c88c968971b80c90209ebf922ce6 Mon Sep 17 00:00:00 2001 From: Tsu-ba-me Date: Thu, 14 Apr 2022 17:09:35 -0400 Subject: [PATCH] fix(striker-ui): correct colours in MenuItem when focused --- striker-ui/components/MenuItem.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/striker-ui/components/MenuItem.tsx b/striker-ui/components/MenuItem.tsx index 73924bbf..e381b480 100644 --- a/striker-ui/components/MenuItem.tsx +++ b/striker-ui/components/MenuItem.tsx @@ -16,6 +16,10 @@ const MenuItem = (menuItemProps: MUIMenuItemProps): JSX.Element => { backgroundColor: GREY, fontWeight: 400, + [`&.${muiMenuItemClasses.focusVisible}`]: { + backgroundColor: GREY, + }, + '&:hover': { backgroundColor: GREY, },