Skip to content

Commit a79c8a7

Browse files
authored
fix(chat): align floating chat send button colors with home/mothership chat (#3876)
1 parent 282ec8c commit a79c8a7

File tree

1 file changed

+6
-4
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat

1 file changed

+6
-4
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/chat/chat.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1143,24 +1143,26 @@ export function Chat() {
11431143
{isStreaming ? (
11441144
<Button
11451145
onClick={handleStopStreaming}
1146-
className='h-[22px] w-[22px] rounded-full border-0 bg-[var(--text-primary)] p-0 transition-colors hover-hover:bg-[var(--text-secondary)] dark:bg-[var(--border-1)] dark:hover-hover:bg-[var(--text-body)]'
1146+
variant='ghost'
1147+
className='h-[22px] w-[22px] rounded-full bg-[#383838] p-0 transition-colors hover-hover:bg-[#575757] dark:bg-[#E0E0E0] dark:hover-hover:bg-[#CFCFCF]'
11471148
>
11481149
<Square className='h-2.5 w-2.5 fill-white text-white dark:fill-black dark:text-black' />
11491150
</Button>
11501151
) : (
11511152
<Button
11521153
onClick={handleSendMessage}
1154+
variant='ghost'
11531155
disabled={
11541156
(!chatMessage.trim() && chatFiles.length === 0) ||
11551157
!activeWorkflowId ||
11561158
isExecuting ||
11571159
isStreaming
11581160
}
11591161
className={cn(
1160-
'h-[22px] w-[22px] rounded-full border-0 p-0 transition-colors',
1162+
'h-[22px] w-[22px] rounded-full p-0 transition-colors',
11611163
chatMessage.trim() || chatFiles.length > 0
1162-
? 'bg-[var(--text-primary)] hover-hover:bg-[var(--text-secondary)] dark:bg-[var(--border-1)] dark:hover-hover:bg-[var(--text-body)]'
1163-
: 'bg-[var(--text-subtle)] dark:bg-[var(--text-subtle)]'
1164+
? 'bg-[#383838] hover-hover:bg-[#575757] dark:bg-[#E0E0E0] dark:hover-hover:bg-[#CFCFCF]'
1165+
: 'bg-[#808080] dark:bg-[#808080]'
11641166
)}
11651167
>
11661168
<ArrowUp

0 commit comments

Comments
 (0)