From ca69b66475142f13ba5865bd0c58d8d37ea07dfb Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Mon, 13 Jun 2022 19:59:58 +0530 Subject: [PATCH 1/2] Switch all text to medium --- lib/app.dart | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/lib/app.dart b/lib/app.dart index 30996bc10..b877c10c1 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -207,11 +207,18 @@ TextTheme _buildTextTheme(Color textColor) { fontFamily: 'Inter', color: textColor, fontSize: 16, - fontWeight: FontWeight.w400, + fontWeight: FontWeight.w500, + ), + bodyText2: TextStyle( + fontFamily: 'Inter', + color: textColor, + fontSize: 14, + fontWeight: FontWeight.w500, ), caption: TextStyle( color: textColor.withOpacity(0.6), fontSize: 14, + fontWeight: FontWeight.w500, ), overline: TextStyle( color: textColor.withOpacity(0.8), From 9937bee6efc971eb91f81db52120e0e7a85d1faa Mon Sep 17 00:00:00 2001 From: vishnukvmd Date: Mon, 13 Jun 2022 20:02:51 +0530 Subject: [PATCH 2/2] Remove redundant text style --- lib/app.dart | 4 ---- lib/ui/payment/child_subscription_widget.dart | 1 - 2 files changed, 5 deletions(-) diff --git a/lib/app.dart b/lib/app.dart index b877c10c1..1e6a4b25c 100644 --- a/lib/app.dart +++ b/lib/app.dart @@ -220,10 +220,6 @@ TextTheme _buildTextTheme(Color textColor) { fontSize: 14, fontWeight: FontWeight.w500, ), - overline: TextStyle( - color: textColor.withOpacity(0.8), - fontSize: 12, - ), ); } diff --git a/lib/ui/payment/child_subscription_widget.dart b/lib/ui/payment/child_subscription_widget.dart index fbe7e3a5a..425960517 100644 --- a/lib/ui/payment/child_subscription_widget.dart +++ b/lib/ui/payment/child_subscription_widget.dart @@ -109,7 +109,6 @@ class ChildSubscriptionWidget extends StatelessWidget { text: " for help", ), ], - style: Theme.of(context).textTheme.overline, ), ), ),