From 85ba0889eb578255daafc3d6dcfc0e14d9d0f8db Mon Sep 17 00:00:00 2001 From: Avi Date: Tue, 1 Sep 2026 11:38:21 -0500 Subject: [PATCH] fix(polish): clean up HomeScreen dead code and token drift - Remove dead .active-profile-row CSS (unused class) - Replace hardcoded rgba fallbacks in .home-profile-row.is-active with design tokens (var(--surface-2), var(--border)) - Remove duplicate edit icon from publication empty state (icon was shown above the button, redundant with the button's own icon) --- frontend/src/screens/HomeScreen.tsx | 1 - frontend/src/styles.css | 10 ++-------- 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/frontend/src/screens/HomeScreen.tsx b/frontend/src/screens/HomeScreen.tsx index 86cf603..56204d1 100644 --- a/frontend/src/screens/HomeScreen.tsx +++ b/frontend/src/screens/HomeScreen.tsx @@ -226,7 +226,6 @@ function PublicationResult({ if (!lastPublish) { return (
-

You haven't published anything yet.

diff --git a/frontend/src/styles.css b/frontend/src/styles.css index bf2e814..e82b52b 100644 --- a/frontend/src/styles.css +++ b/frontend/src/styles.css @@ -1411,12 +1411,6 @@ select { gap: 20px; } -.active-profile-row { - display: flex; - align-items: center; - gap: 14px; -} - .active-profile-meta { flex: 1; min-width: 0; @@ -1539,8 +1533,8 @@ select { } .home-profile-row.is-active { - background: var(--token-item-bg, rgba(0, 0, 0, 0.04)); - border-color: var(--token-border, rgba(0, 0, 0, 0.12)); + background: var(--surface-2); + border-color: var(--border); } .home-profile-row:not(.is-active) {