fixed font color bug

This commit is contained in:
Kima 2024-03-24 21:27:17 +01:00
parent f6a096a322
commit 114168c1c1

View File

@ -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),