fix: update colors

This commit is contained in:
Mythie
2023-09-20 02:18:35 +00:00
parent d0f027c4ea
commit ecc8e59c8c
8 changed files with 15 additions and 15 deletions

View File

@ -115,9 +115,9 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
onClick={() => setShowPassword((showPassword) => !showPassword)}
>
{showPassword ? (
<EyeOff className="h-5 w-5 text-slate-500" />
<EyeOff className="text-muted-foreground h-5 w-5" />
) : (
<Eye className="h-5 w-5 text-slate-500" />
<Eye className="text-muted-foreground h-5 w-5" />
)}
</Button>
</div>
@ -149,9 +149,9 @@ export const PasswordForm = ({ className }: PasswordFormProps) => {
onClick={() => setShowConfirmPassword((showConfirmPassword) => !showConfirmPassword)}
>
{showConfirmPassword ? (
<EyeOff className="h-5 w-5 text-slate-500" />
<EyeOff className="text-muted-foreground h-5 w-5" />
) : (
<Eye className="h-5 w-5 text-slate-500" />
<Eye className="text-muted-foreground h-5 w-5" />
)}
</Button>
</div>

View File

@ -1,6 +1,6 @@
'use client';
import { useEffect } from 'react';
import { useEffect, useState } from 'react';
import { useSearchParams } from 'next/navigation';
@ -148,9 +148,9 @@ export const SignInForm = ({ className }: SignInFormProps) => {
onClick={() => setShowPassword((showPassword) => !showPassword)}
>
{showPassword ? (
<EyeOff className="h-5 w-5 text-slate-500" />
<EyeOff className="text-muted-foreground h-5 w-5" />
) : (
<Eye className="h-5 w-5 text-slate-500" />
<Eye className="text-muted-foreground h-5 w-5" />
)}
</Button>
</div>

View File

@ -128,9 +128,9 @@ export const SignUpForm = ({ className }: SignUpFormProps) => {
onClick={() => setShowPassword((showPassword) => !showPassword)}
>
{showPassword ? (
<EyeOff className="h-5 w-5 text-slate-500" />
<EyeOff className="text-muted-foreground h-5 w-5" />
) : (
<Eye className="h-5 w-5 text-slate-500" />
<Eye className="text-muted-foreground h-5 w-5" />
)}
</Button>
</div>