From b8e08a1c362a0084c342b4e6aded27fef5b8a330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Regnault?= Date: Tue, 4 Jun 2024 17:23:49 +0200 Subject: [PATCH] :lipstick: AddPlayerView now use a custom background colour --- .../DouShouQi_App/Components/Player/AddPlayerView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DouShouQi_App/DouShouQi_App/Components/Player/AddPlayerView.swift b/DouShouQi_App/DouShouQi_App/Components/Player/AddPlayerView.swift index 49680b1..fc03de5 100644 --- a/DouShouQi_App/DouShouQi_App/Components/Player/AddPlayerView.swift +++ b/DouShouQi_App/DouShouQi_App/Components/Player/AddPlayerView.swift @@ -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) {