Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

refactor(desktop): adopt semantic surface and type tokens in sidebar and topbar

2 months ago

78bacb6
Authored
Max Weinbach8/3/2026, 5:13:27 PM
Replace one-off opacity washes (bg-foreground/[0.0NN]), ad-hoc border
alphas (border-border/NN), and arbitrary font sizes with the shared
.app-* utilities across the sidebar, sidebar rows, and app top bar.
Nav icons now inherit the button text color, and the migrated files are
added to the token-compliance semantic-text gate.

Parent951fad5

7 files changed
  • apps/desktop/src/ui/Sidebar.tsx+35−37
  • apps/desktop/src/ui/layout/AppTopBar.tsx+21−25
  • apps/desktop/src/ui/layout/PrimaryContent.tsx+1−1
  • apps/desktop/src/ui/layout/SettingsContent.tsx+1−1
  • apps/desktop/src/ui/sidebar/SidebarThreadItem.tsx+6−6
  • apps/desktop/src/ui/sidebar/SidebarWorkspaceItem.tsx+15−15
  • apps/desktop/test/token-compliance.test.ts+3−0