diff --git a/refilc/lib/theme/theme.dart b/refilc/lib/theme/theme.dart index 4ecdcd7..ab74f76 100644 --- a/refilc/lib/theme/theme.dart +++ b/refilc/lib/theme/theme.dart @@ -80,7 +80,8 @@ class AppTheme { brightness: Brightness.light, useMaterial3: true, fontFamily: _defaultFontFamily, - textTheme: googleFontsMap[settings.fontFamily], + textTheme: googleFontsMap[settings.fontFamily] + ?.apply(bodyColor: lightColors.text), scaffoldBackgroundColor: backgroundColor, primaryColor: lightColors.filc, dividerColor: const Color(0x00000000), @@ -183,7 +184,8 @@ class AppTheme { brightness: Brightness.dark, useMaterial3: true, fontFamily: _defaultFontFamily, - textTheme: googleFontsMap[settings.fontFamily], + textTheme: googleFontsMap[settings.fontFamily] + ?.apply(bodyColor: darkColors.text), scaffoldBackgroundColor: backgroundColor, primaryColor: darkColors.filc, dividerColor: const Color(0x00000000),