Skip to content

Commit f385791

Browse files
committed
feat: aligned current unassigned hex to old globals
1 parent 6114c21 commit f385791

File tree

20 files changed

+69
-43
lines changed

20 files changed

+69
-43
lines changed

apps/sim/app/workspace/[workspaceId]/knowledge/components/icons/document-icons.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const TxtIcon: React.FC<IconProps> = ({ className = 'w-6 h-6' }) => (
125125
<path d='M14 2V8H20' fill='#9E9E9E' />
126126
<path
127127
d='M14 2L20 8V20C20 21.1 19.1 22 18 22H6C4.9 22 4 21.1 4 20V4C4 2.9 4.9 2 6 2H14Z'
128-
stroke='#424242'
128+
stroke='var(--border-muted)'
129129
strokeWidth='0.5'
130130
strokeLinecap='round'
131131
strokeLinejoin='round'

apps/sim/app/workspace/[workspaceId]/logs/components/dashboard/workflow-details.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export function WorkflowDetails({
287287
<LineChart
288288
data={details.errorRates}
289289
label='Error Rate'
290-
color='#ef4444'
290+
color='var(--text-error)'
291291
unit='%'
292292
/>
293293
{hasDuration && (
@@ -467,12 +467,12 @@ export function WorkflowDetails({
467467
<div
468468
className='h-[6px] w-[6px] rounded-[2px]'
469469
style={{
470-
backgroundColor: isError ? '#EF4444' : '#B7B7B7',
470+
backgroundColor: isError ? 'var(--text-error)' : '#B7B7B7',
471471
}}
472472
/>
473473
<span
474474
className='font-medium text-[11.5px]'
475-
style={{ color: isError ? '#EF4444' : '#B7B7B7' }}
475+
style={{ color: isError ? 'var(--text-error)' : '#B7B7B7' }}
476476
>
477477
{statusLabel}
478478
</span>

apps/sim/app/workspace/[workspaceId]/logs/logs.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -483,12 +483,12 @@ export default function Logs() {
483483
<div
484484
className='h-[6px] w-[6px] rounded-[2px]'
485485
style={{
486-
backgroundColor: isError ? '#EF4444' : '#B7B7B7',
486+
backgroundColor: isError ? 'var(--text-error)' : '#B7B7B7',
487487
}}
488488
/>
489489
<span
490490
className='font-medium text-[11.5px]'
491-
style={{ color: isError ? '#EF4444' : '#B7B7B7' }}
491+
style={{ color: isError ? 'var(--text-error)' : '#B7B7B7' }}
492492
>
493493
{statusLabel}
494494
</span>

apps/sim/app/workspace/[workspaceId]/templates/components/template-card.tsx

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ interface TemplateCardProps {
2525

2626
export function TemplateCardSkeleton({ className }: { className?: string }) {
2727
return (
28-
<div className={cn('h-[268px] w-full rounded-[8px] bg-[#202020] p-[8px]', className)}>
28+
<div
29+
className={cn(
30+
'h-[268px] w-full rounded-[8px] bg-[var(--surface-elevated)] p-[8px]',
31+
className
32+
)}
33+
>
2934
<div className='h-[180px] w-full animate-pulse rounded-[6px] bg-gray-700' />
3035

3136
<div className='mt-[14px] flex items-center justify-between'>
@@ -193,7 +198,10 @@ function TemplateCardInner({
193198
return (
194199
<div
195200
onClick={handleCardClick}
196-
className={cn('w-full cursor-pointer rounded-[8px] bg-[#202020] p-[8px]', className)}
201+
className={cn(
202+
'w-full cursor-pointer rounded-[8px] bg-[var(--surface-elevated)] p-[8px]',
203+
className
204+
)}
197205
>
198206
<div
199207
ref={previewRef}
@@ -238,7 +246,7 @@ function TemplateCardInner({
238246
)
239247
})}
240248
<div
241-
className='flex h-[18px] w-[18px] flex-shrink-0 items-center justify-center rounded-[4px] bg-[#4A4A4A]'
249+
className='flex h-[18px] w-[18px] flex-shrink-0 items-center justify-center rounded-[4px] bg-[var(--surface-14)]'
242250
style={{ marginLeft: '-4px' }}
243251
>
244252
<span className='font-medium text-[10px] text-white'>+{blockTypes.length - 3}</span>
@@ -273,7 +281,7 @@ function TemplateCardInner({
273281
<img src={authorImageUrl} alt={author} className='h-full w-full object-cover' />
274282
</div>
275283
) : (
276-
<div className='flex h-[26px] w-[26px] flex-shrink-0 items-center justify-center rounded-full bg-[#4A4A4A]'>
284+
<div className='flex h-[26px] w-[26px] flex-shrink-0 items-center justify-center rounded-full bg-[var(--surface-14)]'>
277285
<User className='h-[18px] w-[18px] text-[#888888]' />
278286
</div>
279287
)}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function ShimmerOverlayText({ label, value, active = false }: ShimmerOverlayText
3737
return (
3838
<span className='relative inline-block'>
3939
<span style={{ color: '#B8B8B8' }}>{label}</span>
40-
<span style={{ color: '#787878' }}>{value}</span>
40+
<span style={{ color: 'var(--text-muted)' }}>{value}</span>
4141
{active ? (
4242
<span
4343
aria-hidden='true'

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ function ShimmerOverlayText({
188188
{actionVerb ? (
189189
<>
190190
<span style={{ color: '#B8B8B8' }}>{actionVerb}</span>
191-
<span style={{ color: '#787878' }}>{remainder}</span>
191+
<span style={{ color: 'var(--text-muted)' }}>{remainder}</span>
192192
</>
193193
) : (
194194
<span>{text}</span>

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/user-input/components/mention-menu/mention-menu.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -552,11 +552,15 @@ export function MentionMenu({
552552
active={index === submenuActiveIndex}
553553
>
554554
<span className='min-w-0 flex-1 truncate'>{log.workflowName}</span>
555-
<span className='text-[#AEAEAE] text-[10px] dark:text-[#AEAEAE]'>·</span>
555+
<span className='text-[10px] text-[var(--text-tertiary)] dark:text-[var(--text-tertiary)]'>
556+
·
557+
</span>
556558
<span className='whitespace-nowrap text-[10px]'>
557559
{formatTimestamp(log.createdAt)}
558560
</span>
559-
<span className='text-[#AEAEAE] text-[10px] dark:text-[#AEAEAE]'>·</span>
561+
<span className='text-[10px] text-[var(--text-tertiary)] dark:text-[var(--text-tertiary)]'>
562+
·
563+
</span>
560564
<span className='text-[10px] capitalize'>
561565
{(log.trigger || 'manual').toLowerCase()}
562566
</span>

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/connection-blocks/connection-blocks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ interface ConnectionBlocksProps {
2525
}
2626

2727
const TREE_STYLES = {
28-
LINE_COLOR: '#2C2C2C',
28+
LINE_COLOR: 'var(--border)',
2929
LINE_OFFSET: 4,
3030
} as const
3131

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/editor/components/subflow-editor/subflow-editor.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export function SubflowEditor({
8989
className='h-[1.25px]'
9090
style={{
9191
backgroundImage:
92-
'repeating-linear-gradient(to right, #2C2C2C 0px, #2C2C2C 6px, transparent 6px, transparent 12px)',
92+
'repeating-linear-gradient(to right, var(--border) 0px, var(--border) 6px, transparent 6px, transparent 12px)',
9393
}}
9494
/>
9595
</div>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ export function Editor() {
364364
className='h-[1.25px]'
365365
style={{
366366
backgroundImage:
367-
'repeating-linear-gradient(to right, #2C2C2C 0px, #2C2C2C 6px, transparent 6px, transparent 12px)',
367+
'repeating-linear-gradient(to right, var(--border) 0px, var(--border) 6px, transparent 6px, transparent 12px)',
368368
}}
369369
/>
370370
</div>

0 commit comments

Comments
 (0)