💄 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
}) {
Text("Cancel")
.foregroundColor(.white)
.foregroundColor(Colors.TextButton)
.padding()
.background(Color.red)
.background(Colors.Button)
.cornerRadius(10)
}
}
}
.padding()
.frame(maxWidth: 300)
.background(Color.white)
.background(Colors.PopupBackground)
.cornerRadius(20)
.shadow(radius: 10)
.alert(isPresented: $showAlert) {

Loading…
Cancel
Save