💄 AddPlayerView now use a custom background colour

dev_views
Rémi REGNAULT 11 months ago
parent 5608b2e6a4
commit b8e08a1c36

@ -75,16 +75,16 @@ struct AddPlayerView: View {
isPresented = false isPresented = false
}) { }) {
Text("Cancel") Text("Cancel")
.foregroundColor(.white) .foregroundColor(Colors.TextButton)
.padding() .padding()
.background(Color.red) .background(Colors.Button)
.cornerRadius(10) .cornerRadius(10)
} }
} }
} }
.padding() .padding()
.frame(maxWidth: 300) .frame(maxWidth: 300)
.background(Color.white) .background(Colors.PopupBackground)
.cornerRadius(20) .cornerRadius(20)
.shadow(radius: 10) .shadow(radius: 10)
.alert(isPresented: $showAlert) { .alert(isPresented: $showAlert) {

Loading…
Cancel
Save