diff --git a/client/src/components/Chat/Input/Files/FileUpload.tsx b/client/src/components/Chat/Input/Files/FileUpload.tsx index 718c8c1f5d..ce2fcc4f08 100644 --- a/client/src/components/Chat/Input/Files/FileUpload.tsx +++ b/client/src/components/Chat/Input/Files/FileUpload.tsx @@ -24,7 +24,7 @@ const FileUpload: React.FC = ({ text = null, id = '1', }) => { - const [statusColor, setStatusColor] = useState('text-gray-600'); + const [statusColor, setStatusColor] = useState('text-text-secondary'); const [status, setStatus] = useState(null); const localize = useLocalize(); @@ -39,13 +39,13 @@ const FileUpload: React.FC = ({ const jsonData = JSON.parse(e.target?.result as string); if (validator && !validator(jsonData)) { setStatus('invalid'); - setStatusColor('text-red-600'); + setStatusColor('text-text-destructive'); return; } if (validator) { setStatus('success'); - setStatusColor('text-green-500 dark:text-green-500'); + setStatusColor('text-status-success'); } onFileSelected(jsonData); @@ -75,7 +75,7 @@ const FileUpload: React.FC = ({ type="button" onClick={handleClick} className={cn( - 'mr-1 flex h-auto cursor-pointer items-center rounded bg-transparent px-2 py-1 text-xs font-normal transition-colors hover:bg-gray-100 hover:text-green-600 focus:ring-ring dark:bg-transparent dark:text-gray-300 dark:hover:bg-gray-700 dark:hover:text-green-500', + 'mr-1 flex h-auto cursor-pointer items-center rounded bg-transparent px-2 py-1 text-xs font-normal text-text-secondary transition-colors hover:bg-surface-hover hover:text-status-success focus:ring-ring', statusColor, containerClassName, )} diff --git a/client/src/components/Chat/Input/Files/Table/TemplateTable.tsx b/client/src/components/Chat/Input/Files/Table/TemplateTable.tsx index 9f6b78f91c..3c517db99b 100644 --- a/client/src/components/Chat/Input/Files/Table/TemplateTable.tsx +++ b/client/src/components/Chat/Input/Files/Table/TemplateTable.tsx @@ -2,22 +2,22 @@ import { DotsIcon, TrashIcon } from '@librechat/client'; export default function Template() { return ( -
+
- - - - - - - -
+ Name + Date + Size +
+
File Transfer: Node to FastAPI
+
June 11, 2023
+
11 mb
+
@@ -51,7 +51,7 @@ export default function Template() { target="_blank" rel="noreferrer" aria-label="View source chat" - className="text-gray-500 hover:text-gray-600 dark:hover:text-gray-400" + className="text-text-secondary hover:text-text-primary" >