TF-985 Apply new design for list attachment in EmailView

This commit is contained in:
dab246
2022-10-12 17:02:10 +07:00
committed by Dat H. Pham
parent 0c287dbaa6
commit 36a90fbc63
11 changed files with 214 additions and 255 deletions
@@ -46,9 +46,9 @@ extension AppColor on Color {
static const bgMailboxListMail = Color(0xFFFBFBFF);
static const bgMessenger = Color(0xFFF2F2F5);
static const textButtonColor = Color(0xFF182952);
static const attachmentFileBorderColor = Color(0xFFEAEAEA);
static const attachmentFileNameColor = Color(0xFF182952);
static const attachmentFileSizeColor = Color(0xFF7E869B);
static const attachmentFileBorderColor = Color(0x1F000000);
static const attachmentFileNameColor = Color(0xFF000000);
static const attachmentFileSizeColor = Color(0xFF818C99);
static const avatarColor = Color(0xFFF8F8F8);
static const avatarTextColor = Color(0xFF3840F7);
static const sentTimeTextColorUnRead = Color(0xFF182952);
@@ -152,6 +152,8 @@ extension AppColor on Color {
static const colorShadowLayerTop = Color(0x1F000000);
static const colorDividerHorizontal = Color(0x1F000000);
static const colorEmailAddressFull = Color(0xFF818C99);
static const colorTitleHeaderAttachment = Color(0xFF818C99);
static const colorAttachmentIcon = Color(0xFFAEB7C2);
static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)],
@@ -162,6 +162,7 @@ class ImagePaths {
String get icAddEmailForward => _getImagePath('ic_add_email_forwards.svg');
String get icChevronDownOutline => _getImagePath('ic_chevron_down_outline.svg');
String get icUndo => _getImagePath('ic_undo.svg');
String get icDownloadAttachment => _getImagePath('ic_download_attachment.svg');
String _getImagePath(String imageName) {
return AssetsPaths.images + imageName;