From 235d2c2a0abe1d2a2e04282fbe4eb316e746bca1 Mon Sep 17 00:00:00 2001 From: Marco Beretta <81851188+berry-13@users.noreply.github.com> Date: Sat, 20 Jun 2026 18:56:13 +0200 Subject: [PATCH] refactor: tokenize Auth brand-green accents, Skills, Sharing, Plugins, MCP colors --- client/src/components/Auth/AuthLayout.tsx | 2 +- client/src/components/Auth/Footer.tsx | 4 ++-- client/src/components/Auth/Login.tsx | 2 +- client/src/components/Auth/LoginForm.tsx | 6 +++--- client/src/components/Auth/Registration.tsx | 6 +++--- .../src/components/Auth/RequestPasswordReset.tsx | 10 +++++----- client/src/components/Auth/ResetPassword.tsx | 4 ++-- client/src/components/Auth/TwoFactorScreen.tsx | 4 ++-- client/src/components/Auth/VerifyEmail.tsx | 2 +- .../src/components/MCP/CustomUserVarsSection.tsx | 4 ++-- .../src/components/MCP/MCPServerStatusIcon.tsx | 14 +++++++------- client/src/components/MCP/mcpServerUtils.ts | 16 ++++++++-------- .../components/Plugins/Store/PluginAuthForm.tsx | 4 ++-- .../components/Plugins/Store/PluginTooltip.tsx | 2 +- .../Sharing/GenericGrantAccessDialog.tsx | 4 ++-- .../Sharing/PeoplePickerAdminSettings.tsx | 2 +- .../Skills/dialogs/CreateSkillDialog.tsx | 2 +- .../components/Skills/forms/CreateSkillForm.tsx | 6 +++--- .../Skills/forms/SkillContentEditor.tsx | 2 +- client/src/components/Skills/forms/SkillForm.tsx | 6 +++--- 20 files changed, 51 insertions(+), 51 deletions(-) diff --git a/client/src/components/Auth/AuthLayout.tsx b/client/src/components/Auth/AuthLayout.tsx index 76bc5c70f4..eb346386ee 100644 --- a/client/src/components/Auth/AuthLayout.tsx +++ b/client/src/components/Auth/AuthLayout.tsx @@ -39,7 +39,7 @@ function AuthLayout({
{localize('com_auth_reset_password_if_email_exists')}
{localize('com_auth_back_to_login')} @@ -53,7 +53,7 @@ function RequestPasswordReset() { setBodyText( {localize('com_auth_click')}{' '} - + {localize('com_auth_here')} {' '} {localize('com_auth_to_reset_your_password')} @@ -105,12 +105,12 @@ function RequestPasswordReset() { }, })} aria-invalid={!!errors.email} - className="webkit-dark-styles transition-color peer w-full rounded-2xl border border-border-light bg-surface-primary px-3.5 pb-2.5 pt-3 text-text-primary duration-200 focus:border-green-500 focus:outline-none" + className="webkit-dark-styles transition-color peer w-full rounded-2xl border border-border-light bg-surface-primary px-3.5 pb-2.5 pt-3 text-text-primary duration-200 focus:border-accent-primary focus:outline-none" placeholder=" " /> @@ -133,7 +133,7 @@ function RequestPasswordReset() { {localize('com_auth_back_to_login')} diff --git a/client/src/components/Auth/ResetPassword.tsx b/client/src/components/Auth/ResetPassword.tsx index 0be0d7c76a..5eba4d4c24 100644 --- a/client/src/components/Auth/ResetPassword.tsx +++ b/client/src/components/Auth/ResetPassword.tsx @@ -21,9 +21,9 @@ function ResetPassword() { const resetPassword = useResetPasswordMutation(); const { setError, setHeaderText, startupConfig } = useOutletContext{errors.name.message}
} + {errors.name &&{errors.name.message}
}+
{errors[name]?.message as string}
)} diff --git a/client/src/components/Skills/forms/SkillForm.tsx b/client/src/components/Skills/forms/SkillForm.tsx index f162a3e132..d92c45490e 100644 --- a/client/src/components/Skills/forms/SkillForm.tsx +++ b/client/src/components/Skills/forms/SkillForm.tsx @@ -207,7 +207,7 @@ export default function SkillForm({ skillId }: SkillFormProps) {