diff --git a/frontend/src/assets/styles/index.css b/frontend/src/assets/styles/index.css index 6f0b017..965d103 100644 --- a/frontend/src/assets/styles/index.css +++ b/frontend/src/assets/styles/index.css @@ -109,12 +109,12 @@ body[data-theme="dark"] { --user-pfp-border: #ffffff; --user-pfp-border-shadow: -10px 15px 25px rgba(0, 0, 0, 0.754); - --user-borderBg: rgb(123, 0, 0); + --user-borderBg: rgb(57, 0, 123); --user-box: rgb(75, 0, 150); --user-box-strip: rgb(165, 0, 0); --user-box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.754); --user-sideBox: rgba(25, 25, 25, 0.938); - --user-contentBox: rgba(108, 0, 0, 0.764); + --user-contentBox: rgba(29, 0, 66, 0.75); --user-follow-bg: #9a0000; --user-bg: rgb(16, 16, 16); diff --git a/frontend/src/components/Auth/LoginForm.tsx b/frontend/src/components/Auth/LoginForm.tsx index 9170809..597627f 100644 --- a/frontend/src/components/Auth/LoginForm.tsx +++ b/frontend/src/components/Auth/LoginForm.tsx @@ -125,7 +125,7 @@ const LoginForm: React.FC = ({ onSubmit, onForgotPassword }) => { placeholder="Username" value={formData.username} onChange={handleInputChange} - extraClasses={`w-full focus:w-[120%] p-3 ${ + extraClasses={`w-full p-3 ${ errors.username ? "border-red-500" : "" }`} /> @@ -143,7 +143,7 @@ const LoginForm: React.FC = ({ onSubmit, onForgotPassword }) => { placeholder="Password" value={formData.password} onChange={handleInputChange} - extraClasses={`w-full focus:w-[120%] p-3 ${ + extraClasses={`w-full p-3 ${ errors.password ? "border-red-500" : "" }`} > diff --git a/frontend/src/components/Auth/RegisterForm.tsx b/frontend/src/components/Auth/RegisterForm.tsx index 87015f1..b450881 100644 --- a/frontend/src/components/Auth/RegisterForm.tsx +++ b/frontend/src/components/Auth/RegisterForm.tsx @@ -132,7 +132,7 @@ const RegisterForm: React.FC = ({ onSubmit }) => { placeholder="Username" value={formData.username} onChange={handleInputChange} - extraClasses={`w-full focus:w-[120%] p-3 ${ + extraClasses={`w-full p-3 ${ errors.username ? "border-red-500" : "" }`} /> @@ -148,7 +148,7 @@ const RegisterForm: React.FC = ({ onSubmit }) => { placeholder="Email" value={formData.email} onChange={handleInputChange} - extraClasses={`w-full focus:w-[120%] p-3 ${ + extraClasses={`w-full p-3 ${ errors.email ? "border-red-500" : "" }`} /> @@ -164,7 +164,7 @@ const RegisterForm: React.FC = ({ onSubmit }) => { placeholder="Password" value={formData.password} onChange={handleInputChange} - extraClasses={`w-full focus:w-[120%] p-3 ${ + extraClasses={`w-full p-3 ${ errors.password ? "border-red-500" : "" }`} /> @@ -180,7 +180,7 @@ const RegisterForm: React.FC = ({ onSubmit }) => { placeholder="Confirm Password" value={formData.confirmPassword} onChange={handleInputChange} - extraClasses={`w-full focus:w-[120%] p-3 ${ + extraClasses={`w-full p-3 ${ errors.confirmPassword ? "border-red-500" : "" }`} /> diff --git a/frontend/src/components/Input/Button.tsx b/frontend/src/components/Input/Button.tsx index 6245178..8ddd76a 100644 --- a/frontend/src/components/Input/Button.tsx +++ b/frontend/src/components/Input/Button.tsx @@ -15,7 +15,7 @@ const Button: React.FC = ({ return (