From 6a535066d2236ce4659ce8e3b36636174aaf0109 Mon Sep 17 00:00:00 2001 From: Quentin Eude Date: Wed, 11 Nov 2026 17:52:25 +0100 Subject: [PATCH] Revert "feat(overview): follow the system appearance like the cheat sheet (#268)" The maintainer prefers the Overview as it was: dark glass, no tint. This reverts commit af2a9e6266b11e039f032e1e5d25e1718effc9ad. --- Sources/DefiMacOS/OverviewPanel.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Sources/DefiMacOS/OverviewPanel.swift b/Sources/DefiMacOS/OverviewPanel.swift index 03e323e2..340f8fc5 100644 --- a/Sources/DefiMacOS/OverviewPanel.swift +++ b/Sources/DefiMacOS/OverviewPanel.swift @@ -108,11 +108,6 @@ final class OverviewPanel { if #available(macOS 26, *) { let glass = NSGlassEffectView(frame: glassFrame) glass.style = .regular - // The cheat sheet's core colour as an even tint: its opaque top band would veil the top row. - glass.tintColor = NSColor(name: nil) { - $0.bestMatch(from: [.darkAqua, .aqua]) == .darkAqua - ? .black.withAlphaComponent(0.3) : .white.withAlphaComponent(0.3) - } glass.contentView = view glassView = glass } else { @@ -123,6 +118,7 @@ final class OverviewPanel { material.addSubview(view) glassView = material } + glassView.appearance = NSAppearance(named: .darkAqua) glassView.autoresizingMask = [.width, .height] rootView.addSubview(desktopView) rootView.addSubview(glassView)