diff --git a/frontend/src/modals/AddActionModal.tsx b/frontend/src/modals/AddActionModal.tsx index c7c813c3..78b005d4 100644 --- a/frontend/src/modals/AddActionModal.tsx +++ b/frontend/src/modals/AddActionModal.tsx @@ -59,6 +59,7 @@ export default function AddActionModal({ setFunctionNameError(!isValidFunctionName(value)); }} borderVariant="thin" + labelBgClassName="bg-white dark:bg-charleston-green-2" placeholder={'Enter name'} />

setTitle(e.target.value)} borderVariant="thin" placeholder={'Enter title'} + labelBgClassName="bg-white dark:bg-charleston-green-2" >

@@ -123,15 +124,13 @@ export default function ChunkModal({ Edit Chunk
- - Title - setTitle(e.target.value)} borderVariant="thin" placeholder={'Enter title'} + labelBgClassName="bg-white dark:bg-charleston-green-2" >
diff --git a/frontend/src/modals/ConfigToolModal.tsx b/frontend/src/modals/ConfigToolModal.tsx index 04553677..16bc945c 100644 --- a/frontend/src/modals/ConfigToolModal.tsx +++ b/frontend/src/modals/ConfigToolModal.tsx @@ -59,7 +59,7 @@ export default function ConfigToolModal({ onChange={(e) => setAuthKey(e.target.value)} borderVariant="thin" placeholder={t('modals.configTool.apiKeyPlaceholder')} - label={t('modals.configTool.apiKeyLabel')} + labelBgClassName="bg-white dark:bg-charleston-green-2" />
diff --git a/frontend/src/modals/CreateAPIKeyModal.tsx b/frontend/src/modals/CreateAPIKeyModal.tsx index 128bdff6..084d7869 100644 --- a/frontend/src/modals/CreateAPIKeyModal.tsx +++ b/frontend/src/modals/CreateAPIKeyModal.tsx @@ -84,9 +84,10 @@ export default function CreateAPIKeyModal({ type="text" className="rounded-md" value={APIKeyName} - label={t('modals.createAPIKey.apiKeyName')} + placeholder={t('modals.createAPIKey.apiKeyName')} onChange={(e) => setAPIKeyName(e.target.value)} borderVariant="thin" + labelBgClassName="bg-white dark:bg-charleston-green-2" >
diff --git a/frontend/src/preferences/PromptsModal.tsx b/frontend/src/preferences/PromptsModal.tsx index f2512210..d4ad0e92 100644 --- a/frontend/src/preferences/PromptsModal.tsx +++ b/frontend/src/preferences/PromptsModal.tsx @@ -38,7 +38,6 @@ function AddPrompt({ setNewPromptName(e.target.value)} @@ -115,6 +114,7 @@ function EditPrompt({ className="h-10 rounded-lg" value={editPromptName} onChange={(e) => setEditPromptName(e.target.value)} + labelBgClassName="bg-white dark:bg-charleston-green-2" />
diff --git a/frontend/src/settings/APIKeys.tsx b/frontend/src/settings/APIKeys.tsx index 99cb832b..df7ee79b 100644 --- a/frontend/src/settings/APIKeys.tsx +++ b/frontend/src/settings/APIKeys.tsx @@ -109,7 +109,7 @@ export default function APIKeys() {