Update card style
All checks were successful
Deploy Docs / publish (push) Successful in 4m0s
SwiftLint / SwiftLint (push) Successful in 4s

This commit is contained in:
david-swift 2025-01-05 11:59:17 +01:00
parent 6794e6922e
commit f28e425f71

View File

@ -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)
}
}