Use fontFamily for all style in Text widget
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+2
-2
@@ -59,7 +59,7 @@ enum AdvancedSearchFilterField {
|
||||
}
|
||||
|
||||
TextStyle getTitleTextStyle() {
|
||||
return const TextStyle(
|
||||
return ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 14,
|
||||
fontWeight: FontWeight.w400,
|
||||
color: AppColor.colorContentEmail);
|
||||
@@ -77,7 +77,7 @@ enum AdvancedSearchFilterField {
|
||||
}
|
||||
|
||||
TextStyle getHintTextStyle() {
|
||||
return const TextStyle(
|
||||
return ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: 16,
|
||||
fontWeight: FontWeight.w400,
|
||||
color: AppColor.colorHintSearchBar);
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import 'package:core/presentation/utils/theme_utils.dart';
|
||||
import 'package:dartz/dartz.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:jmap_dart_client/jmap/core/sort/comparator.dart';
|
||||
@@ -99,7 +100,7 @@ enum EmailSortOrderType {
|
||||
}
|
||||
|
||||
TextStyle getTextStyle({required bool isInDropdown}) {
|
||||
return TextStyle(
|
||||
return ThemeUtils.defaultTextStyleInterFont.copyWith(
|
||||
fontSize: isInDropdown ? 15 : 16,
|
||||
fontWeight: FontWeight.w400,
|
||||
color: Colors.black,
|
||||
|
||||
Reference in New Issue
Block a user