From 114168c1c1a7c95ac94209d6708349e8d6562d6a Mon Sep 17 00:00:00 2001 From: Kima Date: Sun, 24 Mar 2024 21:27:17 +0100 Subject: [PATCH] fixed font color bug --- refilc/lib/theme/theme.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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),