Parcourir la Source

Match the home top bar and sidebar background to the meetings strip tint.

This aligns both surfaces with the panel header strip color so the home chrome feels visually consistent.

Made-with: Cursor
huzaifahayat12 il y a 6 jours
Parent
commit
8e81c946bb
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      zoom_app/ViewController.swift

+ 2 - 2
zoom_app/ViewController.swift

@@ -677,7 +677,7 @@ class ViewController: NSViewController {
677
 
677
 
678
         let topBar = NSView()
678
         let topBar = NSView()
679
         topBar.wantsLayer = true
679
         topBar.wantsLayer = true
680
-        topBar.layer?.backgroundColor = appShellBackground.withAlphaComponent(0.98).cgColor
680
+        topBar.layer?.backgroundColor = NSColor.white.withAlphaComponent(0.03).cgColor
681
         
681
         
682
         let topBarDivider = NSView()
682
         let topBarDivider = NSView()
683
         topBarDivider.wantsLayer = true
683
         topBarDivider.wantsLayer = true
@@ -910,7 +910,7 @@ class ViewController: NSViewController {
910
     private func makeSidebar(items: [String], selected: String, style: SidebarStyle = .login) -> NSView {
910
     private func makeSidebar(items: [String], selected: String, style: SidebarStyle = .login) -> NSView {
911
         let sidebar = NSView()
911
         let sidebar = NSView()
912
         sidebar.wantsLayer = true
912
         sidebar.wantsLayer = true
913
-        sidebar.layer?.backgroundColor = (style == .home ? appShellBackground.withAlphaComponent(0.98) : sidebarBackground).cgColor
913
+        sidebar.layer?.backgroundColor = (style == .home ? NSColor.white.withAlphaComponent(0.03) : sidebarBackground).cgColor
914
         if style == .home {
914
         if style == .home {
915
             let divider = NSView()
915
             let divider = NSView()
916
             divider.wantsLayer = true
916
             divider.wantsLayer = true