Skip to content

Commit

Permalink
Improve: Change the default text color for the dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Feb 28, 2024
1 parent 1fafcb9 commit 5e8bcb3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/style/app_themes.dart
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ ThemeData getAppLightTheme(ColorScheme colorScheme) {
final base = ThemeData.light();
return ThemeData(
colorScheme: colorScheme,
textTheme: GoogleFonts.robotoTextTheme(base.textTheme),
textTheme: GoogleFonts.robotoTextTheme(base.textTheme).apply(
bodyColor: colorScheme.primary,
),
appBarTheme: base.appBarTheme.copyWith(
iconTheme: IconThemeData(color: colorScheme.primary),
centerTitle: true,
Expand Down

0 comments on commit 5e8bcb3

Please sign in to comment.