Skip to content

Commit 2b2a3c5

Browse files
committed
update color
1 parent 035cdc0 commit 2b2a3c5

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

apps/sim/app/workspace/[workspaceId]/logs/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ const TRIGGER_VARIANT_MAP: Record<string, React.ComponentProps<typeof Badge>['va
7272
webhook: 'orange',
7373
mcp: 'cyan',
7474
a2a: 'teal',
75-
copilot: 'indigo',
75+
copilot: 'pink',
7676
}
7777

7878
interface StatusBadgeProps {

apps/sim/components/emcn/components/badge/badge.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const badgeVariants = cva(
2727
amber: `${STATUS_BASE} bg-[#fde68a] text-[#a16207] dark:bg-[rgba(245,158,11,0.2)] dark:text-[#fcd34d]`,
2828
teal: `${STATUS_BASE} bg-[#99f6e4] text-[#0f766e] dark:bg-[rgba(20,184,166,0.2)] dark:text-[#5eead4]`,
2929
cyan: `${STATUS_BASE} bg-[var(--surface-4)] text-[#0891b2] dark:bg-[rgba(14,165,233,0.2)] dark:text-[#7dd3fc]`,
30+
pink: `${STATUS_BASE} bg-[#fbcfe8] text-[#be185d] dark:bg-[rgba(236,72,153,0.2)] dark:text-[#f9a8d4]`,
3031
'gray-secondary': `${STATUS_BASE} bg-[var(--surface-4)] text-[var(--text-secondary)]`,
3132
},
3233
size: {
@@ -54,6 +55,7 @@ const STATUS_VARIANTS = [
5455
'amber',
5556
'teal',
5657
'cyan',
58+
'pink',
5759
'gray-secondary',
5860
] as const
5961

@@ -87,7 +89,7 @@ export interface BadgeProps
8789
* Supports two categories of variants:
8890
* - **Bordered**: `default`, `outline`, `type` - traditional badges with borders
8991
* - **Status colors**: `green`, `red`, `gray`, `blue`, `blue-secondary`, `purple`,
90-
* `orange`, `amber`, `teal`, `cyan`, `gray-secondary` - borderless colored badges
92+
* `orange`, `amber`, `teal`, `cyan`, `pink`, `gray-secondary` - borderless colored badges
9193
*
9294
* Status color variants can display a dot indicator via the `dot` prop.
9395
* All variants support an optional `icon` prop for leading icons.

apps/sim/lib/logs/get-trigger-options.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export function getTriggerOptions(): TriggerOption[] {
3939
{ value: 'webhook', label: 'Webhook', color: '#ea580c' },
4040
{ value: 'mcp', label: 'MCP', color: '#dc2626' },
4141
{ value: 'a2a', label: 'A2A', color: '#14b8a6' },
42-
{ value: 'copilot', label: 'Copilot', color: '#6366f1' },
42+
{ value: 'copilot', label: 'Copilot', color: '#ec4899' },
4343
]
4444

4545
for (const trigger of triggers) {

apps/sim/lib/workflows/executor/execute-workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface ExecuteWorkflowOptions {
1313
enabled: boolean
1414
selectedOutputs?: string[]
1515
isSecureMode?: boolean
16-
workflowTriggerType?: string
16+
workflowTriggerType?: 'api' | 'chat' | 'copilot'
1717
onStream?: (streamingExec: StreamingExecution) => Promise<void>
1818
onBlockComplete?: (blockId: string, output: unknown) => Promise<void>
1919
skipLoggingComplete?: boolean

0 commit comments

Comments
 (0)