Skip to content

Commit bf07240

Browse files
authored
Fix user message color (#978)
1 parent 0c7a8ef commit bf07240

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/copilot-message.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,13 @@ const CopilotMessage: FC<CopilotMessageProps> = memo(
628628
<div className='flex justify-end'>
629629
<div className='min-w-0 max-w-[80%]'>
630630
{/* Message content in purple box */}
631-
<div className='rounded-[10px] bg-[var(--brand-primary-hover-hex)]/[0.08] px-3 py-2'>
631+
<div
632+
className='rounded-[10px] px-3 py-2'
633+
style={{
634+
backgroundColor:
635+
'color-mix(in srgb, var(--brand-primary-hover-hex) 8%, transparent)',
636+
}}
637+
>
632638
<div className='whitespace-pre-wrap break-words font-normal text-base text-foreground leading-relaxed'>
633639
<WordWrap text={message.content} />
634640
</div>

0 commit comments

Comments
 (0)