fix(polish): align HomeScreen with design system
- Remove identity card gradient (flat surface + success border per flat-by-default rule) - Fix profile row border-radius from 8px to var(--radius-sm) (9px) - Improve publication empty state: centered layout with icon + button instead of inline sentence - Normalize home-identity-name font-size to 16px (matches profile-name) - Remove redundant grid-template-columns from home-grid
This commit is contained in:
parent
a47ce8b9ef
commit
96dcbe4264
2 changed files with 22 additions and 10 deletions
|
|
@ -226,13 +226,16 @@ function PublicationResult({
|
|||
}) {
|
||||
if (!lastPublish) {
|
||||
return (
|
||||
<div className="home-publish-empty">
|
||||
<Icon name="edit" size={20} />
|
||||
<p className="muted">
|
||||
You haven't published anything yet.{' '}
|
||||
<button type="button" className="linklike" onClick={onNavigateCompose}>
|
||||
Compose your first note
|
||||
</button>
|
||||
.
|
||||
You haven't published anything yet.
|
||||
</p>
|
||||
<Button variant="secondary" size="sm" onClick={onNavigateCompose}>
|
||||
<Icon name="edit" size={16} />
|
||||
Compose your first note
|
||||
</Button>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1408,7 +1408,6 @@ select {
|
|||
|
||||
.home-grid {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
|
|
@ -1481,7 +1480,7 @@ select {
|
|||
justify-content: space-between;
|
||||
gap: 20px;
|
||||
border-color: var(--success);
|
||||
background: linear-gradient(135deg, var(--surface), var(--success-soft));
|
||||
background: var(--surface);
|
||||
}
|
||||
|
||||
.home-identity-content {
|
||||
|
|
@ -1511,7 +1510,7 @@ select {
|
|||
.home-identity-name {
|
||||
margin: 0 0 4px;
|
||||
color: var(--text);
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
font-weight: 650;
|
||||
}
|
||||
|
||||
|
|
@ -1544,7 +1543,7 @@ select {
|
|||
align-items: center;
|
||||
gap: 14px;
|
||||
padding: 8px;
|
||||
border-radius: 8px;
|
||||
border-radius: var(--radius-sm);
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
|
|
@ -1583,6 +1582,16 @@ select {
|
|||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.home-publish-empty {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
padding: 8px 0;
|
||||
text-align: center;
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.relay-status-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue