Skip to content

Commit 2527a79

Browse files
committed
fix(chat): use the defined brand token for the resource activity dot
1 parent e6cb9d4 commit 2527a79

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

‎apps/sim/app/workspace/[workspaceId]/home/components/chat-panel-layout.test.tsx‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,9 @@ it.each([1, 2])(
7878
`Expand resource view, ${count} resource${count === 1 ? '' : 's'} updated`
7979
)
8080
expect(container.querySelector('[role="separator"]')).toBeNull()
81+
expect(button.querySelector('span[aria-hidden="true"]')?.className).toContain(
82+
'bg-[var(--brand-blue)]'
83+
)
8184
await act(async () => button.click())
8285
expect(toggle).toHaveBeenCalledOnce()
8386
expect(container.textContent).toContain('Conversation')

‎apps/sim/app/workspace/[workspaceId]/home/components/chat-panel-layout.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export function ChatPanelLayout({
6363
{collapsed && activityCount > 0 && (
6464
<span
6565
aria-hidden='true'
66-
className='-top-0.5 -right-0.5 absolute size-1.5 rounded-full bg-[var(--brand-primary)]'
66+
className='-top-0.5 -right-0.5 absolute size-1.5 rounded-full bg-[var(--brand-blue)]'
6767
/>
6868
)}
6969
</span>

0 commit comments

Comments
 (0)