TF-3704 Fix Folders text is not correct style
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -202,15 +202,14 @@ class ThemeUtils {
|
|||||||
color: color,
|
color: color,
|
||||||
);
|
);
|
||||||
|
|
||||||
static TextStyle textStyleM3BodyMedium2({
|
static TextStyle textStyleInter700({
|
||||||
Color? color,
|
Color? color,
|
||||||
FontWeight? fontWeight,
|
|
||||||
}) => TextStyle(
|
}) => TextStyle(
|
||||||
fontFamily: ConstantsUI.fontApp,
|
fontFamily: ConstantsUI.fontApp,
|
||||||
fontWeight: fontWeight ?? FontWeight.w600,
|
fontWeight: FontWeight.w700,
|
||||||
letterSpacing: 0.25,
|
letterSpacing: 0.0,
|
||||||
fontSize: 14,
|
fontSize: 15,
|
||||||
height: 20 / 14,
|
height: 20 / 15,
|
||||||
color: color,
|
color: color,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
@@ -280,7 +280,7 @@ class MailboxView extends BaseMailboxView {
|
|||||||
Expanded(
|
Expanded(
|
||||||
child: Text(
|
child: Text(
|
||||||
AppLocalizations.of(context).folders,
|
AppLocalizations.of(context).folders,
|
||||||
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black),
|
style: ThemeUtils.textStyleInter700(color: Colors.black),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Row(children: [
|
Row(children: [
|
||||||
|
|||||||
@@ -186,7 +186,7 @@ class MailboxView extends BaseMailboxView {
|
|||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
AppLocalizations.of(context).folders,
|
AppLocalizations.of(context).folders,
|
||||||
style: ThemeUtils.textStyleM3BodyMedium2(color: Colors.black),
|
style: ThemeUtils.textStyleInter700(color: Colors.black),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user