Fix input text color visibility (add text-gray-900)

This commit is contained in:
2026-01-27 22:49:39 +11:00
parent 24b3f53f7c
commit baa93959e4

View File

@@ -49,7 +49,7 @@ const Login: React.FC = () => {
type="text"
value={username}
onChange={(e) => setUsername(e.target.value)}
className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent text-gray-900"
placeholder="Enter your username"
required
autoComplete="username"
@@ -65,7 +65,7 @@ const Login: React.FC = () => {
type="password"
value={password}
onChange={(e) => setPassword(e.target.value)}
className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent"
className="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-transparent text-gray-900"
placeholder="Enter your password"
required
autoComplete="current-password"