Skip to content

Commit 95a8e9b

Browse files
committed
chore: update button variant and colour
1 parent f99d609 commit 95a8e9b

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

packages/frontend/src/components/AiBuilder/components/ChatInterface/ChatMessageToolbar.tsx

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,6 @@ const langfuse = new LangfuseWeb({
2727
publicKey: appConfig.pairRomePublicKey,
2828
})
2929

30-
const DEFAULT_BUTTON_PROPS = {
31-
size: 'xs',
32-
variant: 'clear',
33-
color: 'gray.500',
34-
_hover: { color: 'gray.700', bg: 'gray.100' },
35-
}
36-
3730
interface ChatMessageToolbarProps {
3831
traceId: string
3932
}
@@ -77,7 +70,8 @@ export default function ChatMessageToolbar({
7770
>
7871
<PopoverTrigger>
7972
<IconButton
80-
{...DEFAULT_BUTTON_PROPS}
73+
variant="clear"
74+
colorScheme="secondary"
8175
aria-label="Thumbs down"
8276
icon={<Icon as={FaRegThumbsDown} />}
8377
onClick={onOpen}

0 commit comments

Comments
 (0)