mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-18 11:06:19 +00:00
fix: dark theme in agent editor
This commit is contained in:
@@ -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 */}
|
||||
|
||||
@@ -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' : ''
|
||||
}`}
|
||||
/>
|
||||
|
||||
@@ -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>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user