From 8b829d0012342016781f0474a49ea1d48677aefe Mon Sep 17 00:00:00 2001 From: Nursca Ajah Date: Thu, 23 Apr 2026 21:12:47 +0100 Subject: [PATCH] refactor: update styles and improve accessibility across components - Changed toast notification library from react-hot-toast to sonner in CheckoutQrModal. - Updated text colors and hover effects in various components for better visibility and consistency. - Enhanced accessibility by adding aria attributes and roles in forms and buttons. - Adjusted password strength indicator to provide clearer feedback on strength levels. - Improved layout and spacing in forms and tooltips for better user experience. - Refined component structure and styles in WalletSelector, MerchantProfileCard, and RegistrationForm. - Updated package-lock.json to reflect project name change to "pluto". --- .../src/app/(public)/forgot-password/page.tsx | 10 +- frontend/src/app/(public)/login/page.tsx | 14 +-- frontend/src/app/(public)/page.tsx | 46 ++++---- frontend/src/app/(public)/register/page.tsx | 4 +- frontend/src/components/ApiHealthBadge.tsx | 21 +++- frontend/src/components/ApiUsageChart.tsx | 19 +++- frontend/src/components/CheckoutQrModal.tsx | 8 +- frontend/src/components/CopyButton.tsx | 14 ++- frontend/src/components/InfoTooltip.tsx | 27 +++-- frontend/src/components/MaskedValue.tsx | 10 +- .../src/components/MerchantProfileCard.tsx | 30 +++-- frontend/src/components/Navbar.tsx | 2 +- .../src/components/PaymentDetailModal.tsx | 18 +-- frontend/src/components/PaymentMetrics.tsx | 21 ++-- frontend/src/components/RegistrationForm.tsx | 105 +++++++++++------- frontend/src/components/WalletSelector.tsx | 18 +-- frontend/src/components/login/HeroSection.tsx | 2 +- frontend/src/components/login/LoginForm.tsx | 29 +++-- package-lock.json | 4 +- 19 files changed, 240 insertions(+), 162 deletions(-) diff --git a/frontend/src/app/(public)/forgot-password/page.tsx b/frontend/src/app/(public)/forgot-password/page.tsx index 05265dab..9aa9ab73 100644 --- a/frontend/src/app/(public)/forgot-password/page.tsx +++ b/frontend/src/app/(public)/forgot-password/page.tsx @@ -17,7 +17,7 @@ export default function ForgotPasswordPage() {
-

+

Account Recovery

@@ -31,7 +31,7 @@ export default function ForgotPasswordPage() {
{!submitted ? (
-
-