From b7f06168946f37338ff24f5aa5c021f98338f7f1 Mon Sep 17 00:00:00 2001 From: adityaKumarModak Date: Thu, 13 Apr 2023 14:03:35 +0530 Subject: [PATCH 1/2] fix: removed opacity from list-item color removed transparentize() from color property --- code/ui/components/src/tooltip/ListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ui/components/src/tooltip/ListItem.tsx b/code/ui/components/src/tooltip/ListItem.tsx index 64394dcc4070..fd5c957a779b 100644 --- a/code/ui/components/src/tooltip/ListItem.tsx +++ b/code/ui/components/src/tooltip/ListItem.tsx @@ -126,7 +126,7 @@ const Item = styled.a( ({ theme }) => ({ fontSize: theme.typography.size.s1, transition: 'all 150ms ease-out', - color: transparentize(0.5, theme.color.defaultText), + color: theme.color.defaultText, textDecoration: 'none', cursor: 'pointer', justifyContent: 'space-between', From fa9bbf37a5b09860f20f08f8744715167048c7ba Mon Sep 17 00:00:00 2001 From: adityaKumarModak Date: Fri, 28 Apr 2023 23:35:24 +0530 Subject: [PATCH 2/2] style: update list item color to dark --- code/ui/components/src/tooltip/ListItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/ui/components/src/tooltip/ListItem.tsx b/code/ui/components/src/tooltip/ListItem.tsx index fd5c957a779b..96c5fa3f58a8 100644 --- a/code/ui/components/src/tooltip/ListItem.tsx +++ b/code/ui/components/src/tooltip/ListItem.tsx @@ -126,7 +126,7 @@ const Item = styled.a( ({ theme }) => ({ fontSize: theme.typography.size.s1, transition: 'all 150ms ease-out', - color: theme.color.defaultText, + color: theme.color.dark, textDecoration: 'none', cursor: 'pointer', justifyContent: 'space-between',