From f590aebdfa6b9309dc11428e0e6616470fcd9ea4 Mon Sep 17 00:00:00 2001 From: Qwerasd Date: Fri, 2 Feb 2024 02:00:02 -0500 Subject: [PATCH] fix(macOS): Use better hardcoded colors for light titlebar tabs window button backdrop --- macos/Sources/Features/Terminal/TerminalWindow.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/macos/Sources/Features/Terminal/TerminalWindow.swift b/macos/Sources/Features/Terminal/TerminalWindow.swift index 1d8e5ce83..7db4db42e 100644 --- a/macos/Sources/Features/Terminal/TerminalWindow.swift +++ b/macos/Sources/Features/Terminal/TerminalWindow.swift @@ -191,8 +191,8 @@ class TerminalWindow: NSWindow { // backdrop look MUCH better. I couldn't figure out a perfect color to use that works // for both so we just check the appearance. if effectiveAppearance.name == .aqua { - view.layer?.backgroundColor = NSColor.textBackgroundColor.cgColor.copy(alpha: 0.45) - topBorder.layer?.backgroundColor = NSColor.textBackgroundColor.cgColor.copy(alpha: 0.85) + view.layer?.backgroundColor = CGColor(genericGrayGamma2_2Gray: 0.95, alpha: 1) + topBorder.layer?.backgroundColor = CGColor(genericGrayGamma2_2Gray: 0.0, alpha: 0.2) } else { view.layer?.backgroundColor = CGColor(genericGrayGamma2_2Gray: 0.0, alpha: 0.45) topBorder.layer?.backgroundColor = CGColor(genericGrayGamma2_2Gray: 0.0, alpha: 0.85)