ソースを参照

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 6 日 前
コミット
698f501e05
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1 1
      zoom_app/ViewController.swift

+ 1 - 1
zoom_app/ViewController.swift

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