From 365727767303a796b7e1122c5e53f3d051fbe3d0 Mon Sep 17 00:00:00 2001 From: Rinat Date: Fri, 29 May 2026 18:09:31 +0400 Subject: [PATCH 1/4] feat: redesign --- example/app/components/Header.tsx | 2 +- example/app/components/SwitchTheme.tsx | 6 +++--- example/app/components/UseAddressExample.tsx | 8 ++++---- .../app/components/UseAddressInputExample.tsx | 12 ++++++------ example/app/components/UseBalanceExample.tsx | 4 ++-- .../components/UseDebugContractsExample.tsx | 2 +- .../app/components/UseEtherInputExample.tsx | 4 ++-- packages/components/src/Address/Address.tsx | 9 ++++----- packages/components/src/Input/AddressInput.tsx | 18 ++++++------------ packages/components/src/Input/BaseInput.tsx | 2 +- packages/debug-contracts/src/Contract.tsx | 12 ++++++------ .../src/components/Collapsible.tsx | 4 ++-- .../src/components/DisplayVariable.tsx | 6 +++--- .../src/components/ReadOnlyFunctionForm.tsx | 2 +- .../debug-contracts/src/components/Tooltip.tsx | 2 +- .../src/components/TxReceipt.tsx | 8 ++++---- packages/debug-contracts/src/styles.css | 2 +- .../debug-contracts/src/utils/notification.tsx | 2 +- .../debug-contracts/src/utils/utilsDisplay.tsx | 2 +- 19 files changed, 50 insertions(+), 57 deletions(-) diff --git a/example/app/components/Header.tsx b/example/app/components/Header.tsx index 307f95c..24ca74c 100644 --- a/example/app/components/Header.tsx +++ b/example/app/components/Header.tsx @@ -9,7 +9,7 @@ export const Header = () => { const getLinkClassName = (href: string) => { const isActive = pathname === href; - const baseClasses = "px-3 py-2 rounded-md text-sm font-medium transition-colors"; + const baseClasses = "px-3 py-2 text-sm font-medium transition-colors"; if (isActive) { return `${baseClasses} bg-[var(--color-sui-primary)] text-[var(--color-sui-primary-content)] font-semibold`; diff --git a/example/app/components/SwitchTheme.tsx b/example/app/components/SwitchTheme.tsx index 37ed29e..5f23f2e 100644 --- a/example/app/components/SwitchTheme.tsx +++ b/example/app/components/SwitchTheme.tsx @@ -25,16 +25,16 @@ export const SwitchTheme = ({ className }: { className?: string }) => { if (!mounted) return null; return ( -
+
{/* Custom Toggle Switch */}