From 13b111d164c69616fc705427dcde422f275479df Mon Sep 17 00:00:00 2001 From: its-id Date: Thu, 9 May 2024 02:02:27 +0530 Subject: [PATCH] fix: Poor contrast on SlashMenu --- .../modules/ui/layout/dropdown/components/DropdownMenu.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenu.tsx b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenu.tsx index 8acfcadfaee7..c8753e4c85e4 100644 --- a/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenu.tsx +++ b/packages/twenty-front/src/modules/ui/layout/dropdown/components/DropdownMenu.tsx @@ -10,10 +10,12 @@ const StyledDropdownMenu = styled.div<{ ? 'none' : 'blur(12px) saturate(200%) contrast(50%) brightness(130%)'}; + color: ${({ theme }) => theme.font.color.secondary}; + background: ${({ theme, disableBlur }) => disableBlur ? theme.background.primary - : theme.background.transparent.secondary}; + : theme.background.transparent.primary}; border: ${({ disableBorder, theme }) => disableBorder ? 'none' : `1px solid ${theme.border.color.medium}`};