From 1f8526a7dd7b5eac8880d2eff3a71bf96e9fef04 Mon Sep 17 00:00:00 2001 From: odweta Date: Fri, 3 Apr 2026 13:53:39 +0200 Subject: [PATCH] update leaderboard text fg color --- frontend/lib/provider/quote_provider.dart | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/lib/provider/quote_provider.dart b/frontend/lib/provider/quote_provider.dart index 1fe1995..f9c35b8 100644 --- a/frontend/lib/provider/quote_provider.dart +++ b/frontend/lib/provider/quote_provider.dart @@ -211,13 +211,11 @@ class QuoteProvider extends ChangeNotifier { Color getLeaderboardEntryFgColor(BuildContext context, int index) { switch (index) { case 0: - return Colors.black; // 1st place case 1: - return Colors.black; // 2nd place case 2: - return Colors.black; // 3rd place + return Colors.black; default: - return Colors.white; // default for all other entries + return Theme.of(context).textTheme.bodyMedium!.color!; } } } \ No newline at end of file