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:
parent
e41598d24f
commit
85ba0889eb
2 changed files with 2 additions and 9 deletions
|
|
@ -226,7 +226,6 @@ function PublicationResult({
|
|||
if (!lastPublish) {
|
||||
return (
|
||||
<div className="home-publish-empty">
|
||||
<Icon name="edit" size={20} />
|
||||
<p className="muted">
|
||||
You haven't published anything yet.
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue