From e52b8db493ae76b8a1bc42cdc07d13196b5fdb4d Mon Sep 17 00:00:00 2001 From: Johan LACHENAL Date: Mon, 13 May 2024 10:50:42 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'RankingView.swift'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- RankingView.swift | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/RankingView.swift b/RankingView.swift index c28037c..69fefef 100644 --- a/RankingView.swift +++ b/RankingView.swift @@ -5,8 +5,15 @@ struct RankingView { let player : Player? var body : some View { VStack(alignment: .leading) - Text("RANKING") + Text("RANKING") // TODO : penser à créer un style pour les textes + .font(.Title) + .foregroundColor(.white) Text(ranking.getRank(of:player.id)) + .font(.LargeTitle) + .fontWeight(.bold) + .foregroundColor(.white) Text("Singles") + .font(.Title2) + .foregroundColor(.white) } } \ No newline at end of file