TF-3764 Update new empty view for folder

Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
dab246
2025-06-02 16:33:37 +07:00
committed by Dat H. Pham
parent 0a8d1b2895
commit bab0331fe0
10 changed files with 91 additions and 84 deletions
@@ -256,6 +256,7 @@ extension AppColor on Color {
static const textPrimary = Color(0xFF424244);
static const iconFolder = Color(0xFF297EF2);
static const folderDivider = Color(0xFFE4E8EC);
static const color424244 = Color(0xFF424244);
static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)],
@@ -12,7 +12,7 @@ class ImagePaths {
String get icDownload => _getImagePath('ic_download.svg');
String get icMore => _getImagePath('ic_more.svg');
String get icPhotoLibrary => _getImagePath('ic_photo_library.svg');
String get icEmptyEmail => _getImagePath('ic_empty_email.svg');
String get icEmptyFolder => _getImagePath('ic_empty_folder.svg');
String get icStar => _getImagePath('ic_star.svg');
String get icUnStar => _getImagePath('ic_unstar.svg');
String get icAttachment => _getImagePath('ic_attachment.svg');
@@ -270,6 +270,24 @@ class ThemeUtils {
color: AppColor.steelGray400,
);
static TextStyle textStyleInter600() => TextStyle(
fontFamily: ConstantsUI.fontApp,
fontWeight: FontWeight.w600,
letterSpacing: 0.0,
fontSize: 24,
height: 28.01 / 24,
color: AppColor.color424244.withOpacity(0.9),
);
static TextStyle textStyleInter400() => TextStyle(
fontFamily: ConstantsUI.fontApp,
fontWeight: FontWeight.w400,
letterSpacing: -0.15,
fontSize: 16,
height: 21.01 / 16,
color: AppColor.color424244.withOpacity(0.64),
);
static TextSelectionThemeData get _textSelectionTheme {
return const TextSelectionThemeData(
cursorColor: AppColor.primaryColor,