Pārlūkot izejas kodu

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 3 mēneši atpakaļ
vecāks
revīzija
8e81c946bb
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      zoom_app/ViewController.swift

+ 2 - 2
zoom_app/ViewController.swift

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