liquid glass update 1

This commit is contained in:
neon443
2025-06-10 13:14:19 +01:00
parent 559f891719
commit a7e09692f6
2 changed files with 8 additions and 12 deletions

View File

@@ -151,7 +151,7 @@ struct AddEventView: View {
resetAddEventView() resetAddEventView()
dismiss() dismiss()
} label: { } label: {
Image(systemName: "xmark.circle.fill") Image(systemName: "xmark")
.symbolRenderingMode(.hierarchical) .symbolRenderingMode(.hierarchical)
.resizable() .resizable()
.scaledToFit() .scaledToFit()
@@ -182,6 +182,7 @@ struct AddEventView: View {
.cornerRadius(10) .cornerRadius(10)
.buttonStyle(BorderedProminentButtonStyle()) .buttonStyle(BorderedProminentButtonStyle())
} }
.tint(.accent)
.apply { .apply {
if #available(iOS 17, *) { if #available(iOS 17, *) {
$0.sensoryFeedback(.success, trigger: bye) $0.sensoryFeedback(.success, trigger: bye)

View File

@@ -34,10 +34,6 @@ struct AddEventButton: View {
Button() { Button() {
showingAddEventView.toggle() showingAddEventView.toggle()
} label: { } label: {
ZStack {
Circle()
.frame(width: 33)
.foregroundStyle(.one)
Image(systemName: "plus") Image(systemName: "plus")
.resizable() .resizable()
.scaledToFit() .scaledToFit()
@@ -47,7 +43,6 @@ struct AddEventButton: View {
} }
} }
} }
}
#Preview { #Preview {
MagicClearButton(text: .constant("s")) MagicClearButton(text: .constant("s"))