Skip to content

Commit 7888c48

Browse files
committed
fix(auth): resolve login a11y contrast regression
1 parent 7366638 commit 7888c48

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/login/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ function LoginPageContent() {
115115

116116
<div className="relative z-10 flex flex-col justify-center items-center text-white p-20 w-full">
117117
<motion.div
118-
initial={{ opacity: 0, x: -50 }}
118+
initial={{ opacity: 1, x: -50 }}
119119
animate={{ opacity: 1, x: 0 }}
120120
transition={{ duration: 0.8, ease: "easeOut" }}
121121
className="max-w-md space-y-10"
@@ -179,7 +179,7 @@ function LoginPageContent() {
179179
</div>
180180

181181
<motion.div
182-
initial={{ opacity: 0, y: 20 }}
182+
initial={{ opacity: 1, y: 20 }}
183183
animate={{ opacity: 1, y: 0 }}
184184
transition={{ duration: 0.8 }}
185185
className="w-full max-w-md space-y-10 relative z-10"
@@ -273,7 +273,7 @@ function LoginPageContent() {
273273
<Button
274274
type="submit"
275275
disabled={isLoading || !!success}
276-
className="w-full h-14 text-lg font-black uppercase tracking-widest bg-primary hover:bg-primary/90 text-[#f8fafc] shadow-[0_0_20px_rgba(var(--primary-rgb),0.3)] hover:shadow-[0_0_30px_rgba(var(--primary-rgb),0.5)] transition-all group rounded-2xl disabled:opacity-50 disabled:cursor-not-allowed"
276+
className="w-full h-14 text-lg font-black uppercase tracking-widest bg-primary hover:bg-primary/90 text-slate-950 shadow-[0_0_20px_rgba(var(--primary-rgb),0.3)] hover:shadow-[0_0_30px_rgba(var(--primary-rgb),0.5)] transition-all group rounded-2xl disabled:opacity-50 disabled:cursor-not-allowed"
277277
>
278278
{isLoading ? (
279279
<>

0 commit comments

Comments
 (0)