From 6512e021cbcf6ba8e54c1268e38e770a6235ad27 Mon Sep 17 00:00:00 2001 From: DavitBakhutashvili Date: Fri, 29 Sep 2023 10:14:32 +0400 Subject: [PATCH 1/2] fix: changed icons color in chat --- .../components/MessageActions.tsx | 21 +++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/apps/ui/src/modals/AIChatModal/components/ChatMessageList/components/MessageActions.tsx b/apps/ui/src/modals/AIChatModal/components/ChatMessageList/components/MessageActions.tsx index e702a74e7..990a77a28 100644 --- a/apps/ui/src/modals/AIChatModal/components/ChatMessageList/components/MessageActions.tsx +++ b/apps/ui/src/modals/AIChatModal/components/ChatMessageList/components/MessageActions.tsx @@ -29,12 +29,12 @@ const MessageActions = ({ onReplyClick, onCopyClick }: MessageActionsProps) => { {onCopyClick && ( - {copied ? : } + {copied ? : } )} {onReplyClick && ( - + )} @@ -56,3 +56,20 @@ const StyledActionButton = styled.div` cursor: pointer; } ` + +const StyledReplyIcon = styled(ReplyIcon)` + path { + fill: ${({ theme }) => theme.body.iconColor}; + } +` + +const StyledCopyIcon = styled(Copy)` + path { + fill: ${({ theme }) => theme.body.iconColor}; + } +` +const StyledCheckIcon = styled(Check)` + path { + fill: ${({ theme }) => theme.body.iconColor}; + } +` From 6041720106cb1ae1a1a4a7b228604f322ff85fe2 Mon Sep 17 00:00:00 2001 From: DavitBakhutashvili Date: Fri, 29 Sep 2023 10:40:01 +0400 Subject: [PATCH 2/2] fix: clean code --- apps/ui/src/modals/AIChatModal/components/ChatV2.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/ui/src/modals/AIChatModal/components/ChatV2.tsx b/apps/ui/src/modals/AIChatModal/components/ChatV2.tsx index d5afbe253..ef33f55a6 100644 --- a/apps/ui/src/modals/AIChatModal/components/ChatV2.tsx +++ b/apps/ui/src/modals/AIChatModal/components/ChatV2.tsx @@ -695,8 +695,6 @@ const StyledMembersWrapper = styled.div` top: 20px; right: 5px; border-radius: 23px; - // border: ${({ theme }) => theme.body.border}; - // background: ${({ theme }) => theme.body.backgroundColorSecondary}; z-index: 12000000; padding: 10px;