From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/workflow/nodes/http/components/authorization/index.tsx | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/components/workflow/nodes/http/components/authorization/index.tsx b/app/components/workflow/nodes/http/components/authorization/index.tsx index b2de919..7110188 100644 --- a/app/components/workflow/nodes/http/components/authorization/index.tsx +++ b/app/components/workflow/nodes/http/components/authorization/index.tsx @@ -25,12 +25,12 @@ onHide: () => void } -const Field = ({ title, isRequired, children }: { title: string; isRequired?: boolean; children: React.JSX.Element }) => { +const Field = ({ title, isRequired, children }: { title: string; isRequired?: boolean; children: JSX.Element }) => { return ( <div> - <div className='text-[13px] font-medium leading-8 text-text-secondary'> + <div className='leading-8 text-[13px] font-medium text-gray-700'> {title} - {isRequired && <span className='ml-0.5 text-text-destructive'>*</span>} + {isRequired && <span className='ml-0.5 text-[#D92D20]'>*</span>} </div> <div>{children}</div> </div> @@ -158,7 +158,7 @@ <div className='flex'> <Input instanceId='http-api-key' - className={cn(isFocus ? 'border-components-input-border-active bg-components-input-bg-active shadow-xs' : 'border-components-input-border-hover bg-components-input-bg-normal', 'w-0 grow rounded-lg border px-3 py-[6px]')} + className={cn(isFocus ? 'shadow-xs bg-gray-50 border-gray-300' : 'bg-gray-100 border-gray-100', 'w-0 grow rounded-lg px-3 py-[6px] border')} value={tempPayload.config?.api_key || ''} onChange={handleAPIKeyChange} nodesOutputVars={availableVars} -- Gitblit v1.8.0