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)
This commit is contained in:
Avi 2026-09-01 11:38:21 -05:00
commit 85ba0889eb
2 changed files with 2 additions and 9 deletions

View file

@ -226,7 +226,6 @@ function PublicationResult({
if (!lastPublish) { if (!lastPublish) {
return ( return (
<div className="home-publish-empty"> <div className="home-publish-empty">
<Icon name="edit" size={20} />
<p className="muted"> <p className="muted">
You haven't published anything yet. You haven't published anything yet.
</p> </p>

View file

@ -1411,12 +1411,6 @@ select {
gap: 20px; gap: 20px;
} }
.active-profile-row {
display: flex;
align-items: center;
gap: 14px;
}
.active-profile-meta { .active-profile-meta {
flex: 1; flex: 1;
min-width: 0; min-width: 0;
@ -1539,8 +1533,8 @@ select {
} }
.home-profile-row.is-active { .home-profile-row.is-active {
background: var(--token-item-bg, rgba(0, 0, 0, 0.04)); background: var(--surface-2);
border-color: var(--token-border, rgba(0, 0, 0, 0.12)); border-color: var(--border);
} }
.home-profile-row:not(.is-active) { .home-profile-row:not(.is-active) {