Skip to content

Commit

Permalink
fix(ChatBubble): hardcoded colors
Browse files Browse the repository at this point in the history
  • Loading branch information
benjitrosch committed Apr 4, 2023
1 parent f2fa5ec commit d0724ef
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/ChatBubble/ChatBubbleMessage.tsx
Expand Up @@ -15,7 +15,13 @@ const ChatBubbleMessage = React.forwardRef<
const classes = twMerge(
'chat-bubble',
clsx({
[`chat-bubble-${color}`]: color,
'chat-bubble-primary': color === 'primary',
'chat-bubble-secondary': color === 'secondary',
'chat-bubble-accent': color === 'accent',
'chat-bubble-info': color === 'info',
'chat-bubble-success': color === 'success',
'chat-bubble-warning': color === 'warning',
'chat-bubble-error': color === 'error',
}),
className
)
Expand Down

0 comments on commit d0724ef

Please sign in to comment.