Feat: workflow dark mode (#17785)
This commit is contained in:
@@ -103,7 +103,7 @@ const ConfigPromptItem: FC<Props> = ({
|
||||
title={
|
||||
<div className='relative left-1 flex items-center'>
|
||||
{payload.role === PromptRole.system
|
||||
? (<div className='relative left-[-4px] text-xs font-semibold uppercase text-gray-700'>
|
||||
? (<div className='relative left-[-4px] text-xs font-semibold uppercase text-text-secondary'>
|
||||
SYSTEM
|
||||
</div>)
|
||||
: (
|
||||
@@ -112,8 +112,8 @@ const ConfigPromptItem: FC<Props> = ({
|
||||
allOptions={roleOptions}
|
||||
options={canNotChooseSystemRole ? roleOptionsWithoutSystemRole : roleOptions}
|
||||
onChange={handleChatModeMessageRoleChange}
|
||||
triggerClassName='text-xs font-semibold text-gray-700 uppercase'
|
||||
itemClassName='text-[13px] font-medium text-gray-700'
|
||||
triggerClassName='text-xs font-semibold text-text-secondary uppercase'
|
||||
itemClassName='text-[13px] font-medium text-text-secondary'
|
||||
/>
|
||||
)}
|
||||
|
||||
|
@@ -180,7 +180,7 @@ const ConfigPrompt: FC<Props> = ({
|
||||
})()
|
||||
return (
|
||||
<div key={item.id || index} className='group relative'>
|
||||
{canDrag && <DragHandle className='absolute left-[-14px] top-2 hidden h-3.5 w-3.5 text-gray-400 group-hover:block' />}
|
||||
{canDrag && <DragHandle className='absolute left-[-14px] top-2 hidden h-3.5 w-3.5 text-text-quaternary group-hover:block' />}
|
||||
<ConfigPromptItem
|
||||
className={cn(canDrag && 'handle')}
|
||||
headerClassName={cn(canDrag && 'cursor-grab')}
|
||||
|
@@ -25,7 +25,7 @@ const ResolutionPicker: FC<Props> = ({
|
||||
}, [onChange])
|
||||
return (
|
||||
<div className='flex items-center justify-between'>
|
||||
<div className='mr-2 text-xs font-medium uppercase text-gray-500'>{t(`${i18nPrefix}.resolution.name`)}</div>
|
||||
<div className='mr-2 text-xs font-medium uppercase text-text-secondary'>{t(`${i18nPrefix}.resolution.name`)}</div>
|
||||
<div className='flex items-center space-x-1'>
|
||||
<OptionCard
|
||||
title={t(`${i18nPrefix}.resolution.high`)}
|
||||
|
Reference in New Issue
Block a user