@@ -62,27 +62,27 @@ export function SignInForm({ className, ...props }: ComponentProps<"div">) {
62
62
disabled = { isLoading }
63
63
/>
64
64
65
- < div className = "text-muted-foreground text-center text-sm" > OR</ div >
65
+ < div className = "text-muted-foreground text-center font-mono text-sm font-semibold tracking-wider " > OR</ div >
66
66
67
67
< form onSubmit = { handleSubmit ( onSubmit ) } className = "flex flex-col gap-4" >
68
- < div className = "space-y-2 " >
69
- < Label htmlFor = "email" className = "text-muted-foreground text-sm font-semibold" >
68
+ < div className = "space-y-1 " >
69
+ < Label htmlFor = "email" className = "dark: text-muted-foreground text-sm font-semibold" >
70
70
Email
71
71
</ Label >
72
72
< Input
73
73
id = "email"
74
74
type = "email"
75
75
76
- className = "shadow-md "
76
+ className = ""
77
77
{ ...register ( "email" ) }
78
78
aria-invalid = { ! ! errors . email }
79
79
autoComplete = "email"
80
80
/>
81
81
< FieldError error = { errors . email ?. message } />
82
82
</ div >
83
83
84
- < div className = "space-y-2 " >
85
- < Label htmlFor = "password" className = "text-muted-foreground text-sm font-semibold" >
84
+ < div className = "space-y-1 " >
85
+ < Label htmlFor = "password" className = "dark: text-muted-foreground text-sm font-semibold" >
86
86
Password
87
87
</ Label >
88
88
< PasswordInput
@@ -96,14 +96,18 @@ export function SignInForm({ className, ...props }: ComponentProps<"div">) {
96
96
< FieldError error = { errors . password ?. message } />
97
97
</ div >
98
98
99
- < div className = "flex items-center justify-between" >
100
- < div className = "flex items-center space-x-2" >
99
+ < div className = "mt-1 flex items-center justify-between" >
100
+ < div className = "flex flex-1 items-center space-x-2" >
101
101
< Checkbox
102
102
id = "remember"
103
103
{ ...register ( "remember" ) }
104
104
onCheckedChange = { checked => setValue ( "remember" , ! ! checked ) }
105
+ defaultChecked = { true }
105
106
/>
106
- < Label htmlFor = "remember" className = "text-muted-foreground cursor-pointer text-sm" >
107
+ < Label
108
+ htmlFor = "remember"
109
+ className = "text-muted-foreground line-clamp-1 cursor-pointer overflow-hidden text-sm"
110
+ >
107
111
Remember me
108
112
</ Label >
109
113
</ div >
0 commit comments