TF-3410 Update color, dimensions and alignments in EmailView
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
@@ -10,7 +10,6 @@ class EmailViewAppBarWidgetStyles {
|
||||
static const double radius = 20;
|
||||
static double buttonIconSize = IconUtils.defaultIconSize;
|
||||
static const double deleteButtonIconSize = 20;
|
||||
static const double space = 5;
|
||||
static double? heightIOS(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isLandscapeMobile(context)) {
|
||||
return 60;
|
||||
@@ -24,6 +23,7 @@ class EmailViewAppBarWidgetStyles {
|
||||
static const Color deletePermanentButtonColor = AppColor.colorDeletePermanentlyButton;
|
||||
static const Color buttonActivatedColor = AppColor.primaryColor;
|
||||
static const Color buttonDeactivatedColor = AppColor.colorAttachmentIcon;
|
||||
static const Color iconColor = AppColor.steelGrayA540;
|
||||
|
||||
static EdgeInsetsGeometry paddingIOS(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isLandscapeMobile(context)) {
|
||||
@@ -35,5 +35,4 @@ class EmailViewAppBarWidgetStyles {
|
||||
}
|
||||
}
|
||||
static const EdgeInsetsGeometry padding = EdgeInsetsDirectional.symmetric(horizontal: 16);
|
||||
static const EdgeInsetsGeometry buttonPadding = EdgeInsets.all(5);
|
||||
}
|
||||
@@ -5,12 +5,12 @@ import 'package:flutter/material.dart';
|
||||
class EmailViewBackButtonStyles {
|
||||
static const double offsetWidth = 270;
|
||||
|
||||
static const Color iconColor = AppColor.primaryColor;
|
||||
static const Color iconColor = AppColor.steelGrayA540;
|
||||
|
||||
static const EdgeInsetsGeometry rtlPadding = EdgeInsetsDirectional.symmetric(horizontal: 8);
|
||||
|
||||
static const TextStyle labelTextStyle = TextStyle(
|
||||
fontSize: 17,
|
||||
color: AppColor.colorTextButton
|
||||
color: AppColor.steelGrayA540
|
||||
);
|
||||
}
|
||||
@@ -10,6 +10,7 @@ class EmailViewBottomBarWidgetStyles {
|
||||
static const double buttonIconSize = 20;
|
||||
static const double radius = 20;
|
||||
|
||||
static const Color iconColor = AppColor.steelGrayA540;
|
||||
static const Color topBorderColor = AppColor.colorDividerHorizontal;
|
||||
static const Color backgroundColor = Colors.white;
|
||||
static const Color buttonBackgroundColor = Colors.transparent;
|
||||
@@ -29,7 +30,7 @@ class EmailViewBottomBarWidgetStyles {
|
||||
) {
|
||||
return TextStyle(
|
||||
fontSize: responsiveUtils.isPortraitMobile(context) ? 12 : 16,
|
||||
color: AppColor.colorTextButton
|
||||
color: EmailViewBottomBarWidgetStyles.iconColor,
|
||||
);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:core/presentation/utils/icon_utils.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
@@ -7,5 +8,13 @@ class EmailViewStyles {
|
||||
static const double mobileContentVerticalMargin = 12;
|
||||
static double pageViewIconSize = IconUtils.defaultIconSize;
|
||||
|
||||
static const EdgeInsetsGeometry pageViewButtonPadding = EdgeInsets.all(5);
|
||||
static const Color iconColor = AppColor.steelGrayA540;
|
||||
|
||||
static const EdgeInsetsGeometry emailContentPadding =
|
||||
EdgeInsetsDirectional.only(
|
||||
start: 16,
|
||||
bottom: 16,
|
||||
end: 16,
|
||||
top: 8,
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user