Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions client/src/pages/Registration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ const InputField = ({
value={value || ""}
onChange={onChange}
placeholder={placeholder}
className={`w-full pl-12 py-3 border border-gray-200 rounded-xl shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-gray-50 focus:bg-white ${
className={`w-full pl-12 py-3 border border-gray-200 text-black rounded-xl shadow-sm focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent bg-gray-50 focus:bg-white ${
EndIcon ? "pr-12" : "pr-4"
}`}
{...props}
Expand Down Expand Up @@ -306,8 +306,8 @@ export default function Registration() {
}
className={`p-4 rounded-xl border-2 transition-all ${
formData.role === "PARENTS"
? "border-blue-500 bg-blue-50"
: "border-gray-200 hover:border-gray-300"
? "border-blue-500 bg-blue-50 text-blue-400"
: "border-gray-200 hover:border-gray-300 text-gray-400"
}`}
>
<Heart className="w-6 h-6 mx-auto mb-2" />
Expand All @@ -320,8 +320,8 @@ export default function Registration() {
}
className={`p-4 rounded-xl border-2 transition-all ${
formData.role === "DOCTOR"
? "border-purple-500 bg-purple-50"
: "border-gray-200 hover:border-gray-300"
? "border-purple-500 bg-purple-50 text-purple-400"
: "border-gray-200 hover:border-gray-300 text-gray-400"
}`}
>
<UserCheck className="w-6 h-6 mx-auto mb-2" />
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/SignIn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ const InputField = ({
onFocus={onFocus}
onBlur={onBlur}
placeholder={placeholder}
className={`w-full pl-12 pr-12 py-4 border-2 rounded-xl transition-all duration-300 bg-white ${
className={`w-full pl-12 pr-12 py-4 border-2 rounded-xl transition-all duration-300 text-black bg-white ${
error
? "border-red-300 focus:border-red-500 focus:ring-red-500/20"
: isFocused
Expand Down