fix(pages/Login): email 输入框深色模式 (#1429)

This commit is contained in:
memorydream 2022-03-22 01:39:58 +08:00 committed by GitHub
parent 3de55936a5
commit 7d20e6c5de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,11 +22,11 @@ const EmailInput = ({
}) => {
return (
<div className='w-full'>
<div className='mb-1 text-sm font-medium text-gray-700'>Email</div>
<div className='mb-1 text-sm font-medium text-gray-700 dark:text-gray-300'>Email</div>
<input
value={email}
onChange={e => setEmail(e.target.value)}
className='w-full rounded-md border border-gray-300 px-2 py-2'
className='w-full rounded-md border border-gray-300 px-2 py-2 dark:border-gray-600 dark:bg-gray-700 dark:text-white'
type='email'
/>
</div>