made it better

This commit is contained in:
neon443
2025-05-28 15:47:55 +01:00
parent dfb1dae545
commit 69047010d7

View File

@@ -70,13 +70,13 @@ struct ImportView: View {
Group { Group {
Rectangle() Rectangle()
.frame(maxWidth: .infinity, maxHeight: .infinity) .frame(maxWidth: .infinity, maxHeight: .infinity)
.foregroundStyle(replaceCurrentEvents ? .red.opacity(0.3) : .black.opacity(0.2)) .foregroundStyle(replaceCurrentEvents ? .red.opacity(0.25) : .black.opacity(0.2))
.animation(.default, value: replaceCurrentEvents) .animation(.default, value: replaceCurrentEvents)
.ignoresSafeArea() .ignoresSafeArea()
ZStack { ZStack {
RoundedRectangle(cornerRadius: 30) Rectangle()
.foregroundStyle(.one.opacity(0.8)) .background(.ultraThinMaterial)
.blur(radius: 1) .clipShape(RoundedRectangle(cornerRadius: 25))
VStack(alignment: .center) { VStack(alignment: .center) {
Text("Are you sure?") Text("Are you sure?")
.font(.largeTitle) .font(.largeTitle)