feat: remove shadow around app icon appearance
This commit is contained in:
1 parent
894a69d41f
commit
dda612c15e
1 file changed
+7
-5
@@ -27,7 +27,7 @@ class Appearance {
|
||||
static var highlightBorderWidth = CGFloat(3)
|
||||
|
||||
// theme: constants
|
||||
static let enablePanelShadow = true
|
||||
static var enablePanelShadow = true
|
||||
static var highlightFocusedBackgroundColor: NSColor { get { NSColor.systemAccentColor.withAlphaComponent(0.2) } }
|
||||
static var highlightHoveredBackgroundColor: NSColor { get { NSColor.systemAccentColor.withAlphaComponent(0.1) } }
|
||||
static var highlightFocusedBorderColor: NSColor { get { NSColor.systemAccentColor } }
|
||||
@@ -75,10 +75,12 @@ class Appearance {
|
||||
} else {
|
||||
lightTheme()
|
||||
}
|
||||
// // for Liquid Glass, we don't want a shadow around the panel
|
||||
// if #available(macOS 26.0, *), currentStyle == .appIcons && LiquidGlassEffectView.canUsePrivateLiquidGlassLook() {
|
||||
// enablePanelShadow = false
|
||||
// }
|
||||
// for Liquid Glass, we don't want a shadow around the panel
|
||||
if #available(macOS 26.0, *), currentStyle == .appIcons && LiquidGlassEffectView.canUsePrivateLiquidGlassLook() {
|
||||
enablePanelShadow = false
|
||||
} else {
|
||||
enablePanelShadow = true
|
||||
}
|
||||
}
|
||||
|
||||
private static func thumbnailsSize(_ isHorizontalScreen: Bool) {
|
||||
|
||||
Reference in new issue
Block a user