From cba135d4562a7198faca757c245d0670d7de1f5f Mon Sep 17 00:00:00 2001 From: MACHINSOFT <110278369+machinsoft@users.noreply.github.com> Date: Thu, 14 Mar 2024 16:07:55 +0300 Subject: [PATCH] =?UTF-8?q?=E2=9B=94=20style:=20Auth=20Error=20and=20Prese?= =?UTF-8?q?t=20Items=20Styling=20(#2069)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Change the style of the error message. * ui preset items * fix style * Change the color of the border and adjust the background of the selected input --- client/src/components/Auth/Login.tsx | 2 +- client/src/components/Auth/LoginForm.tsx | 6 +++--- client/src/components/Auth/Registration.tsx | 6 +++--- .../components/Auth/RequestPasswordReset.tsx | 6 +++--- client/src/components/Auth/ResetPassword.tsx | 6 +++--- .../Chat/Menus/Presets/PresetItems.tsx | 20 ++++++++++++------- client/src/style.css | 13 ++++++++---- 7 files changed, 35 insertions(+), 24 deletions(-) diff --git a/client/src/components/Auth/Login.tsx b/client/src/components/Auth/Login.tsx index 33486492b3..a9bb90d8fd 100644 --- a/client/src/components/Auth/Login.tsx +++ b/client/src/components/Auth/Login.tsx @@ -105,7 +105,7 @@ function Login() { {error && (
{localize(getLoginError(error))} diff --git a/client/src/components/Auth/LoginForm.tsx b/client/src/components/Auth/LoginForm.tsx index 2d9ba8a041..102c482657 100644 --- a/client/src/components/Auth/LoginForm.tsx +++ b/client/src/components/Auth/LoginForm.tsx @@ -44,7 +44,7 @@ const LoginForm: React.FC = ({ onSubmit }) => { pattern: { value: /\S+@\S+\.\S+/, message: localize('com_auth_email_pattern') }, })} aria-invalid={!!errors.email} - className="webkit-dark-styles peer block w-full appearance-none rounded-md border border-gray-300 bg-white px-2.5 pb-2.5 pt-5 text-sm text-gray-800 focus:border-green-500 focus:outline-none focus:ring-0 dark:border-gray-700 dark:bg-gray-900 dark:text-white dark:focus:border-green-500" + className="webkit-dark-styles peer block w-full appearance-none rounded-md border border-black/10 bg-white px-2.5 pb-2.5 pt-5 text-sm text-gray-800 focus:border-green-500 focus:outline-none dark:border-white/20 dark:bg-gray-900 dark:text-white dark:focus:border-green-500" placeholder=" " />