TF-3704 Fix Folders text is not correct style

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-05-09 10:52:06 +07:00
committed by Dat H. Pham
parent b7e4eb6245
commit 8b0072548f
3 changed files with 7 additions and 8 deletions
+5 -6
View File
@@ -202,15 +202,14 @@ class ThemeUtils {
color: color,
);
static TextStyle textStyleM3BodyMedium2({
static TextStyle textStyleInter700({
Color? color,
FontWeight? fontWeight,
}) => TextStyle(
fontFamily: ConstantsUI.fontApp,
fontWeight: fontWeight ?? FontWeight.w600,
letterSpacing: 0.25,
fontSize: 14,
height: 20 / 14,
fontWeight: FontWeight.w700,
letterSpacing: 0.0,
fontSize: 15,
height: 20 / 15,
color: color,
);
@@ -280,7 +280,7 @@ class MailboxView extends BaseMailboxView {
Expanded(
child: Text(
AppLocalizations.of(context).folders,
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black),
style: ThemeUtils.textStyleInter700(color: Colors.black),
),
),
Row(children: [
@@ -186,7 +186,7 @@ class MailboxView extends BaseMailboxView {
),
child: Text(
AppLocalizations.of(context).folders,
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black),
style: ThemeUtils.textStyleInter700(color: Colors.black),
),
),
),