From e854c95d41cdbfe35f9cdba9ca52ae30ce36d89d Mon Sep 17 00:00:00 2001 From: Avi Date: Tue, 1 Sep 2026 11:32:34 -0500 Subject: [PATCH] fix(polish): remove identity card kicker, flatten to success border - Remove 'Active signing identity' kicker text - Card uses flat surface background with var(--success) border (matches active profile card treatment) - Remove dead .home-identity-kicker CSS - Update test to find card by 'Active profile' heading --- frontend/src/screens/HomeScreen.tsx | 1 - frontend/src/styles.css | 11 +---------- frontend/src/test/HomeScreen.test.tsx | 2 +- 3 files changed, 2 insertions(+), 12 deletions(-) diff --git a/frontend/src/screens/HomeScreen.tsx b/frontend/src/screens/HomeScreen.tsx index 61f5521..86cf603 100644 --- a/frontend/src/screens/HomeScreen.tsx +++ b/frontend/src/screens/HomeScreen.tsx @@ -81,7 +81,6 @@ export function HomeScreen({ onNavigate, onCreateProfile }: HomeScreenProps) {
-

Active signing identity

Active profile

{active.label} diff --git a/frontend/src/styles.css b/frontend/src/styles.css index 0251488..bf2e814 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -1480,7 +1480,7 @@ select { justify-content: space-between; gap: 20px; border-color: var(--success); - background: var(--success-soft); + background: var(--surface); } .home-identity-content { @@ -1494,15 +1494,6 @@ select { min-width: 0; } -.home-identity-kicker { - margin: 0 0 4px; - color: var(--success); - font-size: 12px; - font-weight: 650; - letter-spacing: 0.08em; - text-transform: uppercase; -} - .home-identity-copy h2 { margin: 0 0 4px; } diff --git a/frontend/src/test/HomeScreen.test.tsx b/frontend/src/test/HomeScreen.test.tsx index 154ae9e..03e8225 100644 --- a/frontend/src/test/HomeScreen.test.tsx +++ b/frontend/src/test/HomeScreen.test.tsx @@ -24,7 +24,7 @@ describe('HomeScreen', () => { renderWithApp(); // The active profile name appears both in the identity card and in the profile row. - const identityCard = (await screen.findByText('Active signing identity')).closest( + const identityCard = (await screen.findByText('Active profile')).closest( '.home-identity-card', ) as HTMLElement; expect(within(identityCard).getByText('Alice')).toBeInTheDocument();