TF-3410 Sync changes between web and mobile
Signed-off-by: dab246 <tdvu@linagora.com>
This commit is contained in:
+4
-3
@@ -10,7 +10,7 @@ class MobileAppBarThreadWidgetStyle {
|
||||
static const double minHeight = 56;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
static const Color backButtonColor = AppColor.primaryColor;
|
||||
static const Color backButtonColor = AppColor.steelGrayA540;
|
||||
|
||||
static EdgeInsetsGeometry getPadding(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isPortraitMobile(context) || responsiveUtils.isLandscapeTablet(context)) {
|
||||
@@ -23,8 +23,9 @@ class MobileAppBarThreadWidgetStyle {
|
||||
static const EdgeInsetsGeometry titlePadding = EdgeInsets.symmetric(horizontal: 16);
|
||||
|
||||
static const TextStyle emailCounterTitleStyle = TextStyle(
|
||||
fontSize: 17,
|
||||
color: AppColor.primaryColor
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w400,
|
||||
color: AppColor.steelGrayA540,
|
||||
);
|
||||
static const TextStyle titleTextStyle = TextStyle(
|
||||
fontSize: 21,
|
||||
|
||||
+5
-14
@@ -6,30 +6,21 @@ import 'package:flutter/material.dart';
|
||||
class SelectionWebAppBarThreadWidgetStyle {
|
||||
static const double minHeight = 56;
|
||||
static const double iconSize = 20;
|
||||
static const double mediumIconSize = 22;
|
||||
static const double closeButtonIconSize = 28;
|
||||
|
||||
static const Color backgroundColor = Colors.white;
|
||||
static const Color cancelButtonColor = AppColor.primaryColor;
|
||||
static const Color iconColor = AppColor.steelGrayA540;
|
||||
|
||||
static EdgeInsetsGeometry getPadding(BuildContext context, ResponsiveUtils responsiveUtils) {
|
||||
if (responsiveUtils.isMobile(context) || responsiveUtils.isTabletLarge(context)) {
|
||||
return const EdgeInsets.symmetric(horizontal: 12, vertical: 8);
|
||||
return const EdgeInsets.symmetric(horizontal: 16, vertical: 8);
|
||||
} else {
|
||||
return const EdgeInsets.symmetric(horizontal: 24, vertical: 8);
|
||||
}
|
||||
}
|
||||
static const EdgeInsetsGeometry closeButtonPadding = EdgeInsets.all(3);
|
||||
|
||||
static const TextStyle emailCounterStyle = TextStyle(
|
||||
fontSize: 17,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColor.primaryColor
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w400,
|
||||
color: AppColor.steelGrayA540
|
||||
);
|
||||
|
||||
static Color getDeleteButtonColor(bool deletePermanentlyValid) {
|
||||
return deletePermanentlyValid
|
||||
? AppColor.colorDeletePermanentlyButton
|
||||
: AppColor.primaryColor;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user