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, brightness: Brightness.light,
useMaterial3: true, useMaterial3: true,
fontFamily: _defaultFontFamily, fontFamily: _defaultFontFamily,
textTheme: googleFontsMap[settings.fontFamily], textTheme: googleFontsMap[settings.fontFamily]
?.apply(bodyColor: lightColors.text),
scaffoldBackgroundColor: backgroundColor, scaffoldBackgroundColor: backgroundColor,
primaryColor: lightColors.filc, primaryColor: lightColors.filc,
dividerColor: const Color(0x00000000), dividerColor: const Color(0x00000000),
@ -183,7 +184,8 @@ class AppTheme {
brightness: Brightness.dark, brightness: Brightness.dark,
useMaterial3: true, useMaterial3: true,
fontFamily: _defaultFontFamily, fontFamily: _defaultFontFamily,
textTheme: googleFontsMap[settings.fontFamily], textTheme: googleFontsMap[settings.fontFamily]
?.apply(bodyColor: darkColors.text),
scaffoldBackgroundColor: backgroundColor, scaffoldBackgroundColor: backgroundColor,
primaryColor: darkColors.filc, primaryColor: darkColors.filc,
dividerColor: const Color(0x00000000), dividerColor: const Color(0x00000000),