@@ -12,16 +12,16 @@ struct SidebarRootView: View {
1212 VisualEffectView ( material: . hudWindow, blendingMode: . behindWindow)
1313 . ignoresSafeArea ( )
1414
15- VStack ( alignment: . leading, spacing: 16 ) {
15+ VStack ( alignment: . leading, spacing: 12 ) {
1616 header
1717 if let integrationMessage = stateStore. state. integrationStatus. message {
1818 integrationWarning ( message: integrationMessage)
1919 }
2020 content
2121 Spacer ( minLength: 0 )
2222 }
23- . padding ( . horizontal, 16 )
24- . padding ( . vertical, 18 )
23+ . padding ( . horizontal, 10 )
24+ . padding ( . vertical, 12 )
2525 }
2626 . frame ( maxWidth: . infinity, maxHeight: . infinity)
2727 . preferredColorScheme ( settings. usesDarkAppearance ? . dark : . light)
@@ -33,21 +33,17 @@ struct SidebarRootView: View {
3333 }
3434
3535 private var header : some View {
36- VStack ( alignment: . leading, spacing: 8 ) {
36+ VStack ( alignment: . leading, spacing: 6 ) {
3737 Text ( " AeroMux " )
38- . font ( . system( size: 11 , weight: . semibold, design: . rounded) )
38+ . font ( . system( size: 10 , weight: . semibold, design: . rounded) )
3939 . foregroundStyle ( . secondary)
4040
41- Text ( " Active: \( stateStore. state. focusedWorkspaceGroup? . displayTitle ?? stateStore. state. workspaceName) " )
42- . font ( . system( size: 24 , weight: . bold, design: . rounded) )
43- . lineLimit ( 1 )
44-
4541 HStack ( spacing: 6 ) {
4642 Text ( " \( stateStore. state. visibleWorkspaceCount) task \( stateStore. state. visibleWorkspaceCount == 1 ? " " : " s " ) " )
4743 Text ( " • " )
4844 Text ( " \( stateStore. state. totalWindowCount) window \( stateStore. state. totalWindowCount == 1 ? " " : " s " ) " )
4945 }
50- . font ( . system( size: 12 , weight: . medium, design: . rounded) )
46+ . font ( . system( size: 10 , weight: . medium, design: . rounded) )
5147 . foregroundStyle ( . secondary)
5248 }
5349 }
@@ -63,46 +59,46 @@ struct SidebarRootView: View {
6359 stateView ( title: " No windows open " , message: " Open a window in any AeroSpace workspace to populate the task rail. " )
6460 case . ready:
6561 ScrollView {
66- LazyVStack ( alignment: . leading, spacing: 10 ) {
62+ LazyVStack ( alignment: . leading, spacing: 6 ) {
6763 ForEach ( stateStore. state. workspaces) { workspace in
6864 WorkspaceSectionView (
6965 workspace: workspace,
70- showsIcons : settings. showsAppIcons ,
66+ isCompact : settings. compactMode ,
7167 focusService: focusService,
7268 allWorkspaceNames: stateStore. state. workspaces. map ( \. workspaceName) ,
7369 workspaceMemoryStore: workspaceMemoryStore,
7470 refreshCoordinator: refreshCoordinator
7571 )
7672 }
7773 }
78- . padding ( . top, 4 )
74+ . padding ( . top, 2 )
7975 }
8076 }
8177 }
8278
8379 private var loadingView : some View {
84- HStack ( spacing: 12 ) {
80+ HStack ( spacing: 10 ) {
8581 ProgressView ( )
8682 . controlSize ( . small)
8783 Text ( " Refreshing workspace " )
88- . font ( . system( size: 13 , weight: . medium, design: . rounded) )
84+ . font ( . system( size: 11 , weight: . medium, design: . rounded) )
8985 }
9086 . foregroundStyle ( . secondary)
9187 }
9288
9389 private func integrationWarning( message: String ) -> some View {
9490 VStack ( alignment: . leading, spacing: 6 ) {
9591 Text ( " AeroSpace Integration " )
96- . font ( . system( size: 12 , weight: . semibold, design: . rounded) )
92+ . font ( . system( size: 10 , weight: . semibold, design: . rounded) )
9793 Text ( message)
98- . font ( . system( size: 12 , weight: . regular, design: . rounded) )
94+ . font ( . system( size: 10 , weight: . regular, design: . rounded) )
9995 . foregroundStyle ( . secondary)
10096 Text ( " Expected: `outer.left = [{ monitor.main = \( Int ( settings. sidebarWidth) ) }, 0]` " )
101- . font ( . system( size: 11 , weight: . medium, design: . rounded) )
97+ . font ( . system( size: 10 , weight: . medium, design: . rounded) )
10298 . foregroundStyle ( . secondary)
10399 . textSelection ( . enabled)
104100 }
105- . padding ( 12 )
101+ . padding ( 10 )
106102 . frame ( maxWidth: . infinity, alignment: . leading)
107103 . background (
108104 RoundedRectangle ( cornerRadius: 14 , style: . continuous)
@@ -117,12 +113,12 @@ struct SidebarRootView: View {
117113 private func stateView( title: String , message: String ) -> some View {
118114 VStack ( alignment: . leading, spacing: 10 ) {
119115 Text ( title)
120- . font ( . system( size: 15 , weight: . semibold, design: . rounded) )
116+ . font ( . system( size: 13 , weight: . semibold, design: . rounded) )
121117 Text ( message)
122- . font ( . system( size: 13 , weight: . regular, design: . rounded) )
118+ . font ( . system( size: 11 , weight: . regular, design: . rounded) )
123119 . foregroundStyle ( . secondary)
124120 }
125- . padding ( 14 )
121+ . padding ( 10 )
126122 . frame ( maxWidth: . infinity, alignment: . leading)
127123 . background (
128124 RoundedRectangle ( cornerRadius: 14 , style: . continuous)
0 commit comments