fix: dark theme in agent editor

This commit is contained in:
Nikhil Sonti
2025-08-19 16:31:39 -07:00
committed by Nikhil
parent d7ecb110c3
commit f736884ca3
3 changed files with 4 additions and 4 deletions

View File

@@ -39,13 +39,13 @@ export function AgentEditorForm ({
value={name}
onChange={(e) => onNameChange(e.target.value)}
placeholder={DEFAULT_TITLE}
className='w-full text-[34px] font-semibold tracking-tight outline-none placeholder:text-muted-foreground'
className='w-full text-[34px] font-semibold tracking-tight outline-none placeholder:text-muted-foreground bg-transparent text-foreground'
/>
<input
value={description}
onChange={(e) => onDescriptionChange(e.target.value)}
placeholder='Add a short description…'
className='w-full mt-2 text-[15px] text-muted-foreground outline-none placeholder:text-muted-foreground'
className='w-full mt-2 text-[15px] text-muted-foreground outline-none placeholder:text-muted-foreground bg-transparent'
/>
{/* Goal */}

View File

@@ -20,7 +20,7 @@ export function GoalSection ({ goal, onChange, error }: GoalSectionProps) {
onChange={(e) => onChange(e.target.value)}
placeholder="One line description of the agent's goal, e.g. 'Help me summarise my emails'"
minRows={1}
className={`w-full min-h-[28px] text-[16px] leading-7 outline-none resize-none placeholder:text-muted-foreground ${
className={`w-full min-h-[28px] text-[16px] leading-7 outline-none resize-none placeholder:text-muted-foreground bg-transparent text-foreground ${
error ? 'ring-1 ring-red-500/60 rounded' : ''
}`}
/>

View File

@@ -88,7 +88,7 @@ export function ListEditor ({ items, onChange, placeholder, itemPrefix, label, e
onChange={(e) => updateItem(i, e.target.value)}
onKeyDown={(e) => handleKeyDown(e, i)}
placeholder={getPlaceholder(i)}
className='w-full min-h-[28px] text-[16px] leading-7 outline-none resize-none placeholder:text-muted-foreground'
className='w-full min-h-[28px] text-[16px] leading-7 outline-none resize-none placeholder:text-muted-foreground bg-transparent text-foreground'
/>
</div>
))}