fix: improve dark mode color

This commit is contained in:
鲁树人
2025-07-05 01:13:39 +09:00
parent 3fcbe054b0
commit 99bce5c4ef
5 changed files with 14 additions and 11 deletions

View File

@@ -18,9 +18,9 @@ export function FileInput({ children, onReceiveFiles }: FileInputProps) {
{...getRootProps()}
className={classnames(
'w-full max-w-xl border rounded-lg transition duration-500 p-6 border-base-300 mx-auto',
'cursor-pointer flex flex-col items-center hover:border-gray-400 hover:bg-gray-50',
'cursor-pointer flex flex-col items-center bg-base-200 hover:border-gray-400 hover:bg-gray-50 hover:dark:bg-gray-800',
{
'bg-blue-50 border-blue-700': isDragActive,
'bg-blue-50 dark:bg-blue-900 border-blue-700': isDragActive,
},
)}
tabIndex={0}