Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -134,29 +134,28 @@ export function BrowserDownloads({ scopeId, open, requestOpen, onClose }: Browse
size='sm'
aria-label={label}
title={label}
className={cn(
'relative size-[30px] shrink-0 overflow-hidden p-0',
hasUnviewedCompletion && 'text-[var(--brand-primary)]'
)}
className='relative size-[30px] shrink-0 overflow-hidden p-0'
onClick={() => setHasUnviewedCompletion(false)}
>
{hasActiveDownloads ? (
<Loader animate className='size-[14px] text-[var(--brand-primary)]' />
<Loader animate className='size-[14px] text-[var(--brand-blue)]' />
) : completionAnimationVersion > 0 ? (
<CircleCheck
key={completionAnimationVersion}
className='zoom-in-50 size-[14px] animate-in text-[var(--badge-success-text)] duration-150 motion-reduce:animate-none'
/>
) : (
<Download className='size-[14px]' />
<Download
className={cn('size-[14px]', hasUnviewedCompletion && 'text-[var(--brand-blue)]')}
/>
)}
{hasActiveDownloads && aggregatePercent !== null && (
<span
aria-hidden
className='absolute inset-x-1.5 bottom-1 h-0.5 overflow-hidden rounded-full bg-[var(--surface-6)]'
>
<span
className='block h-full rounded-full bg-[var(--brand-primary)] transition-[width] duration-150'
className='block h-full rounded-full bg-[var(--brand-blue)] transition-[width] duration-150'
style={{ width: `${aggregatePercent}%` }}
/>
</span>
Expand Down
2 changes: 1 addition & 1 deletion apps/sim/app/workspace/[workspaceId]/home/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ function HomeContent({ chatId, userName, userId }: HomeProps) {
{isResourceCollapsed && resourceActivityIds.size > 0 && (
<span
aria-hidden='true'
className='-top-0.5 -right-0.5 absolute size-1.5 rounded-full bg-[var(--brand-primary)]'
className='-top-0.5 -right-0.5 absolute size-1.5 rounded-full bg-[var(--brand-blue)]'
/>
)}
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ export function ExecutionSnapshot({
className={cn('flex flex-col items-center justify-center gap-4 p-8', className)}
style={{ height, width }}
>
<div className='flex items-center gap-3 text-[var(--text-warning)]'>
<div className='flex items-center gap-3 text-[var(--warning)]'>
<CircleAlert className='size-[20px]' />
<span className='text-base'>Logged State Not Found</span>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -612,7 +612,7 @@ function ServerDetailView({
{activeConfigTab === 'cursor' && (
<a
href={getCursorInstallUrl(server.isPublic, server.name)}
className='absolute top-1.5 right-2 inline-flex rounded-md bg-[var(--surface-5)] ring-[length:var(--border-width)] ring-[var(--border-1)] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-[var(--brand-primary)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface-2)]'
className='absolute top-1.5 right-2 inline-flex rounded-md bg-[var(--surface-5)] ring-[length:var(--border-width)] ring-[var(--border-1)] focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-[var(--selection)] focus-visible:ring-offset-2 focus-visible:ring-offset-[var(--surface-2)]'
>
<img
src='https://cursor.com/deeplink/mcp-install-dark.svg'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ export function ImportProgressMenu({ workspaceId, tableId }: ImportProgressMenuP
isReadyExport ? (
<button
type='button'
className='text-[var(--brand-primary)] hover-hover:underline'
className='text-[var(--selection)] hover-hover:underline'
onClick={() => download(row)}
>
Download
Expand Down
2 changes: 1 addition & 1 deletion packages/emcn/src/components/tab-strip/tab-strip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ const Tab = forwardRef<HTMLDivElement, TabProps>(function Tab(
{tab.attention && !tab.active && (
<span
className={cn(
'size-1.5 shrink-0 rounded-full bg-[var(--brand-primary)]',
'size-1.5 shrink-0 rounded-full bg-[var(--brand-blue)]',
tab.pinned && 'absolute right-1 bottom-1'
)}
aria-label='Background activity'
Expand Down
Loading