From c234fc6e434ce65d6cb2fb23d6a68e24a3816d15 Mon Sep 17 00:00:00 2001 From: XiaoYhun Date: Mon, 11 Sep 2023 16:06:06 +0700 Subject: [PATCH] try fix menu text missing color on ipad --- src/components/Header/KyberAINavItem.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Header/KyberAINavItem.tsx b/src/components/Header/KyberAINavItem.tsx index 40d23a6d79..1a1834bf5a 100644 --- a/src/components/Header/KyberAINavItem.tsx +++ b/src/components/Header/KyberAINavItem.tsx @@ -25,7 +25,7 @@ const CustomSlideToUnlock = styled(SlideToUnlock)` ); background-clip: text; -webkit-background-clip: text; - + color: ${({ theme }) => theme.subText}; &[data-active='true'] { background: linear-gradient( to right, @@ -36,6 +36,7 @@ const CustomSlideToUnlock = styled(SlideToUnlock)` /* Repetitive but not redundant */ background-clip: text; -webkit-background-clip: text; + color: ${({ theme }) => theme.primary}; } `