From f28e425f71a5d46fb1ddd839d05297d0db59e74f Mon Sep 17 00:00:00 2001 From: david-swift Date: Sun, 5 Jan 2025 11:59:17 +0100 Subject: [PATCH] Update card style --- Sources/Core/View/Card.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Sources/Core/View/Card.swift b/Sources/Core/View/Card.swift index fda8500..af72c8c 100644 --- a/Sources/Core/View/Card.swift +++ b/Sources/Core/View/Card.swift @@ -46,11 +46,11 @@ struct CardView: SwiftUI.View { .padding(20) .background( Color( - colorScheme == .dark ? NSColor.darkGray : NSColor.white - ), + colorScheme == .dark ? NSColor.darkGray : NSColor.lightGray + ) + .opacity(colorScheme == .dark ? 0.3 : 0.1), in: .rect(cornerRadius: 10) ) - .shadow(color: .black.opacity(0.2), radius: 25) } }