Parcourir la source

Unify home sidebar and top bar chrome colors.

This makes the left navigation background use the same shared chrome color as the top bar to keep the home header/sidebar visual treatment consistent.

Made-with: Cursor
huzaifahayat12 il y a 3 mois
Parent
commit
698f501e05
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      zoom_app/ViewController.swift

+ 1 - 1
zoom_app/ViewController.swift

@@ -967,7 +967,7 @@ class ViewController: NSViewController {
     private func makeSidebar(items: [String], selected: String, style: SidebarStyle = .login) -> NSView {
     private func makeSidebar(items: [String], selected: String, style: SidebarStyle = .login) -> NSView {
         let sidebar = NSView()
         let sidebar = NSView()
         sidebar.wantsLayer = true
         sidebar.wantsLayer = true
-        sidebar.layer?.backgroundColor = (style == .home ? NSColor.white.withAlphaComponent(0.03) : sidebarBackground).cgColor
+        sidebar.layer?.backgroundColor = (style == .home ? chromeUnifiedBackground : sidebarBackground).cgColor
 
 
         let stack = NSStackView()
         let stack = NSStackView()
         stack.orientation = .vertical
         stack.orientation = .vertical