TF-3410 Fix list email item in ThreadView was not applied correct font
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -110,16 +110,24 @@ class ThemeUtils {
|
||||
color: color,
|
||||
);
|
||||
|
||||
static TextStyle textStyleBodyBody2({Color? color, FontWeight? fontWeight}) => TextStyle(
|
||||
static TextStyle textStyleBodyBody2({
|
||||
Color? color,
|
||||
Color? backgroundColor,
|
||||
FontWeight? fontWeight,
|
||||
}) => TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: fontWeight ?? FontWeight.w400,
|
||||
letterSpacing: 0.0,
|
||||
fontSize: 15,
|
||||
height: 20 / 15,
|
||||
color: color,
|
||||
backgroundColor: backgroundColor,
|
||||
);
|
||||
|
||||
static TextStyle textStyleBodyBody3({Color? color, FontWeight? fontWeight}) => TextStyle(
|
||||
static TextStyle textStyleBodyBody3({
|
||||
Color? color,
|
||||
FontWeight? fontWeight,
|
||||
}) => TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: fontWeight ?? FontWeight.w400,
|
||||
letterSpacing: 0.0,
|
||||
@@ -128,7 +136,24 @@ class ThemeUtils {
|
||||
color: color,
|
||||
);
|
||||
|
||||
static TextStyle textStyleHeadingH6({Color? color, FontWeight? fontWeight}) => TextStyle(
|
||||
static TextStyle textStyleBodyContact({
|
||||
Color? color,
|
||||
Color? backgroundColor,
|
||||
FontWeight? fontWeight,
|
||||
}) => TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: fontWeight ?? FontWeight.w600,
|
||||
letterSpacing: 0.0,
|
||||
fontSize: 15,
|
||||
height: 20 / 15,
|
||||
color: color,
|
||||
backgroundColor: backgroundColor,
|
||||
);
|
||||
|
||||
static TextStyle textStyleHeadingH6({
|
||||
Color? color,
|
||||
FontWeight? fontWeight,
|
||||
}) => TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: fontWeight ?? FontWeight.w700,
|
||||
letterSpacing: 0.0,
|
||||
@@ -137,6 +162,18 @@ class ThemeUtils {
|
||||
color: color,
|
||||
);
|
||||
|
||||
static TextStyle textStyleHeadingHeadingSmall({
|
||||
Color? color,
|
||||
FontWeight? fontWeight,
|
||||
}) => TextStyle(
|
||||
fontFamily: ConstantsUI.fontApp,
|
||||
fontWeight: fontWeight ?? FontWeight.w500,
|
||||
letterSpacing: 0.0,
|
||||
fontSize: 17,
|
||||
height: 22 / 17,
|
||||
color: color,
|
||||
);
|
||||
|
||||
static TextSelectionThemeData get _textSelectionTheme {
|
||||
return const TextSelectionThemeData(
|
||||
cursorColor: AppColor.primaryColor,
|
||||
|
||||
Reference in New Issue
Block a user