浏览代码

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