Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: adjust iteration node dark style (#13051)
NFishd1fc65fabc12
diff --git a/web/app/components/workflow/nodes/_base/components/node-control.tsx b/web/app/components/workflow/nodes/_base/components/node-control.tsxindex 1ce78220a12..781b66af6be 100644--- a/web/app/components/workflow/nodes/_base/components/node-control.tsx+++ b/web/app/components/workflow/nodes/_base/components/node-control.tsx@@ -45,13 +45,13 @@ const NodeControl: FC<NodeControlProps> = ({`}><div- className='flex items-center px-0.5 h-6 bg-white rounded-lg border-[0.5px] border-gray-100 shadow-xs text-gray-500'+ className='flex items-center px-0.5 h-6 bg-components-actionbar-bg rounded-lg border-[0.5px] border-components-actionbar-border backdrop-blur-[5px] shadow-md text-text-tertiary'onClick={e => e.stopPropagation()}>{canRunBySingle(data.type) && (<div- className='flex items-center justify-center w-5 h-5 rounded-md cursor-pointer hover:bg-black/5'+ className='flex items-center justify-center w-5 h-5 rounded-md cursor-pointer hover:bg-state-base-hover'onClick={() => {handleNodeDataUpdate({id,diff --git a/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx b/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsxindex 4c192367167..43d65d34393 100644--- a/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx+++ b/web/app/components/workflow/nodes/_base/components/panel-operator/index.tsx@@ -54,12 +54,12 @@ const PanelOperator = ({<divclassName={`flex items-center justify-center w-6 h-6 rounded-md cursor-pointer- hover:bg-black/5- ${open && 'bg-black/5'}+ hover:bg-state-base-hover+ ${open && 'bg-state-base-hover'}${triggerClassName}`}>- <RiMoreFill className={`w-4 h-4 ${inNode ? 'text-gray-500' : 'text-gray-700'}`} />+ <RiMoreFill className={'w-4 h-4 text-text-tertiary'} /></div></PortalToFollowElemTrigger><PortalToFollowElemContent className='z-[11]'>diff --git a/web/app/components/workflow/nodes/_base/components/title-description-input.tsx b/web/app/components/workflow/nodes/_base/components/title-description-input.tsxindex a5718ba2b68..f17d34af8a4 100644--- a/web/app/components/workflow/nodes/_base/components/title-description-input.tsx+++ b/web/app/components/workflow/nodes/_base/components/title-description-input.tsx@@ -33,10 +33,8 @@ export const TitleInput = memo(({value={localValue}onChange={e => setLocalValue(e.target.value)}className={`- grow mr-2 px-1 h-6 text-base text-gray-900 font-semibold rounded-lg border border-transparent appearance-none outline-none- hover:bg-gray-50- focus:border-gray-300 focus:shadow-xs focus:bg-white caret-[#295EFF]- min-w-0+ grow mr-2 px-1 h-7 text-text-primary system-xl-semibold rounded-md border border-transparent appearance-none outline-none+ focus:shadow-xs min-w-0`}placeholder={t('workflow.common.addTitle') || ''}onBlur={handleBlur}@@ -66,8 +64,8 @@ export const DescriptionInput = memo(({<divclassName={`group flex px-2 py-[5px] max-h-[60px] rounded-lg overflow-y-auto- border border-transparent hover:bg-gray-50 leading-0- ${focus && '!border-gray-300 shadow-xs !bg-gray-50'}+ leading-0 bg-components-panel-bg+ ${focus && '!shadow-xs'}`}><Textareadiff --git a/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx b/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsxindex 3a4cece35c9..cdcea647aa1 100644--- a/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx+++ b/web/app/components/workflow/nodes/_base/components/variable/var-reference-picker.tsx@@ -270,7 +270,7 @@ const VarReferencePicker: FC<Props> = ({<AddButton onClick={() => { }}></AddButton></div>)- : (<div ref={!isSupportConstantValue ? triggerRef : null} className={cn((open || isFocus) ? 'border-gray-300' : 'border-gray-100', 'relative group/wrap flex items-center w-full h-8', !isSupportConstantValue && 'p-1 rounded-lg bg-gray-100 border', isInTable && 'bg-transparent border-none', readonly && 'bg-components-input-bg-disabled')}>+ : (<div ref={!isSupportConstantValue ? triggerRef : null} className={cn((open || isFocus) ? 'border-gray-300' : 'border-gray-100', 'relative group/wrap flex items-center w-full h-8', !isSupportConstantValue && 'p-1 rounded-lg bg-components-input-bg-normal', isInTable && 'bg-transparent border-none', readonly && 'bg-components-input-bg-disabled')}>{isSupportConstantValue? <div onClick={(e) => {e.stopPropagation()diff --git a/web/app/components/workflow/nodes/_base/node.tsx b/web/app/components/workflow/nodes/_base/node.tsxindex 4807fa3b2b7..e13a7a41172 100644--- a/web/app/components/workflow/nodes/_base/node.tsx+++ b/web/app/components/workflow/nodes/_base/node.tsx@@ -107,7 +107,7 @@ const BaseNode: FC<BaseNodeProps> = ({'group relative pb-1 shadow-xs','border border-transparent rounded-[15px]',data.type !== BlockEnum.Iteration && 'w-[240px] bg-workflow-block-bg',- data.type === BlockEnum.Iteration && 'flex flex-col w-full h-full bg-[#fcfdff]/80',+ data.type === BlockEnum.Iteration && 'flex flex-col w-full h-full bg-workflow-block-bg-transparent border-workflow-block-border',!data._runningStatus && 'hover:shadow-lg',showRunningBorder && '!border-state-accent-solid',showSuccessBorder && '!border-state-success-solid',@@ -169,7 +169,7 @@ const BaseNode: FC<BaseNodeProps> = ({}<div className={cn('flex items-center px-3 pt-3 pb-2 rounded-t-2xl',- data.type === BlockEnum.Iteration && 'bg-[rgba(250,252,255,0.9)]',+ data.type === BlockEnum.Iteration && 'bg-transparent',)}><BlockIconclassName='shrink-0 mr-2'diff --git a/web/app/components/workflow/nodes/iteration-start/index.tsx b/web/app/components/workflow/nodes/iteration-start/index.tsxindex a765f827331..58174e12629 100644--- a/web/app/components/workflow/nodes/iteration-start/index.tsx+++ b/web/app/components/workflow/nodes/iteration-start/index.tsx@@ -9,7 +9,7 @@ const IterationStartNode = ({ id, data }: NodeProps) => {const { t } = useTranslation()return (- <div className='group flex nodrag items-center justify-center w-11 h-11 mt-1 rounded-2xl border border-workflow-block-border bg-white'>+ <div className='group flex nodrag items-center justify-center w-11 h-11 mt-1 rounded-2xl border border-workflow-block-border bg-workflow-block-bg shadow-xs'><Tooltip popupContent={t('workflow.blocks.iteration-start')} asChild={false}><div className='flex items-center justify-center w-6 h-6 rounded-full border-[0.5px] border-components-panel-border-subtle bg-util-colors-blue-brand-blue-brand-500'><RiHome5Fill className='w-3 h-3 text-text-primary-on-surface' />diff --git a/web/app/components/workflow/nodes/iteration/add-block.tsx b/web/app/components/workflow/nodes/iteration/add-block.tsxindex 07e2b5daf0e..5328ed2732e 100644--- a/web/app/components/workflow/nodes/iteration/add-block.tsx+++ b/web/app/components/workflow/nodes/iteration/add-block.tsx@@ -49,9 +49,9 @@ const AddBlock = ({const renderTriggerElement = useCallback((open: boolean) => {return (<div className={cn(- 'relative inline-flex items-center px-3 h-8 rounded-lg border-[0.5px] border-gray-50 bg-white shadow-xs cursor-pointer hover:bg-gray-200 text-[13px] font-medium text-gray-700',- `${nodesReadOnly && '!cursor-not-allowed opacity-50'}`,- open && '!bg-gray-50',+ 'relative inline-flex items-center px-3 h-8 rounded-lg border-[0.5px] border-components-button-secondary-border bg-components-button-secondary-bg shadow-xs cursor-pointer hover:bg-components-button-secondary-bg-hover system-sm-medium text-components-button-secondary-text backdrop-blur-[5px]',+ `${nodesReadOnly && '!cursor-not-allowed bg-components-button-secondary-bg-disabled'}`,+ open && 'bg-components-button-secondary-bg-hover',)}><RiAddLine className='mr-1 w-4 h-4' />{t('workflow.common.addBlock')}diff --git a/web/app/components/workflow/nodes/iteration/node.tsx b/web/app/components/workflow/nodes/iteration/node.tsxindex fda033b87a2..63874f7d6cf 100644--- a/web/app/components/workflow/nodes/iteration/node.tsx+++ b/web/app/components/workflow/nodes/iteration/node.tsx@@ -43,14 +43,14 @@ const Node: FC<NodeProps<IterationNodeType>> = ({return (<div className={cn(- 'relative min-w-[240px] min-h-[90px] w-full h-full rounded-2xl bg-[#F0F2F7]/90',+ 'relative min-w-[240px] min-h-[90px] w-full h-full rounded-2xl',)}><Backgroundid={`iteration-background-${id}`}className='rounded-2xl !z-0'gap={[14 / zoom, 14 / zoom]}size={2 / zoom}- color='#E4E5E7'+ color='var(--color-workflow-canvas-workflow-dot-color)'/>{data._isCandidate && (diff --git a/web/app/components/workflow/nodes/iteration/panel.tsx b/web/app/components/workflow/nodes/iteration/panel.tsxindex 9b6b3d37907..b21f11fc7a2 100644--- a/web/app/components/workflow/nodes/iteration/panel.tsx+++ b/web/app/components/workflow/nodes/iteration/panel.tsx@@ -76,7 +76,7 @@ const Panel: FC<NodePanelProps<IterationNodeType>> = ({<Fieldtitle={t(`${i18nPrefix}.input`)}operations={(- <div className='flex items-center h-[18px] px-1 border border-black/8 rounded-[5px] text-xs font-medium text-gray-500 capitalize'>Array</div>+ <div className='flex items-center h-[18px] px-1 border border-divider-deep rounded-[5px] system-2xs-medium-uppercase text-text-tertiary capitalize'>Array</div>)}><VarReferencePicker@@ -94,7 +94,7 @@ const Panel: FC<NodePanelProps<IterationNodeType>> = ({<Fieldtitle={t(`${i18nPrefix}.output`)}operations={(- <div className='flex items-center h-[18px] px-1 border border-black/8 rounded-[5px] text-xs font-medium text-gray-500 capitalize'>Array</div>+ <div className='flex items-center h-[18px] px-1 border border-divider-deep rounded-[5px] system-2xs-medium-uppercase text-text-tertiary capitalize'>Array</div>)}><VarReferencePicker@@ -134,8 +134,7 @@ const Panel: FC<NodePanelProps<IterationNodeType>> = ({<div className='px-4 py-2'><Field title={t(`${i18nPrefix}.errorResponseMethod`)} >- <Select items={responseMethod} defaultValue={inputs.error_handle_mode} onSelect={changeErrorResponseMode} allowSearch={false}>- </Select>+ <Select items={responseMethod} defaultValue={inputs.error_handle_mode} onSelect={changeErrorResponseMode} allowSearch={false} /></Field></div>