Commit 2c615f8
authored
🤖 refactor: make workspace count visually subordinate to project name (#3128)
## Summary
Make the workspace count indicator in the project sidebar visually
subordinate to the project name, establishing a clear text hierarchy.
## Background
The workspace count next to each project name in the left sidebar was
styled identically to the project name (same size, same color). This
made them compete for visual attention instead of the count being a
quiet secondary detail.
## Implementation
Changes to the count `<span>` in `ProjectSidebar.tsx`:
- **Size:** `text-sm` → `text-xs` (smaller than the project name)
- **Color:** Stepped down one level in both states —
`text-content-primary` → `text-content-secondary` (attention),
`text-content-secondary` → `text-muted` (normal)
- **Alignment:** `items-center` → `items-baseline` on the flex container
so the smaller count text sits on the same text baseline as the project
name instead of being vertically offset
---
_Generated with `mux` • Model: `anthropic:claude-opus-4-6` • Thinking:
`xhigh` • Cost: `$0.85`_
<!-- mux-attribution: model=anthropic:claude-opus-4-6 thinking=xhigh
costs=0.85 -->1 parent 1cf8b37 commit 2c615f8
1 file changed
Lines changed: 4 additions & 4 deletions
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1910 | 1910 | | |
1911 | 1911 | | |
1912 | 1912 | | |
1913 | | - | |
| 1913 | + | |
1914 | 1914 | | |
1915 | 1915 | | |
1916 | 1916 | | |
| |||
1923 | 1923 | | |
1924 | 1924 | | |
1925 | 1925 | | |
1926 | | - | |
| 1926 | + | |
1927 | 1927 | | |
1928 | | - | |
1929 | | - | |
| 1928 | + | |
| 1929 | + | |
1930 | 1930 | | |
1931 | 1931 | | |
1932 | 1932 | | |
| |||
0 commit comments