TF-1981 Update UI spam banner on web
(cherry picked from commit d795fd8989ac09c2d4002ebc3a4bce0e1c619699)
This commit is contained in:
+2
@@ -4,8 +4,10 @@ import 'package:flutter/material.dart';
|
||||
|
||||
class SpamReportBannerButtonStyles {
|
||||
static const double padding = 8;
|
||||
static const double paddingIcon = 4;
|
||||
static const double borderRadius = 10;
|
||||
static const double labelTextSize = 16;
|
||||
static const double iconSize = 20;
|
||||
static const Color backgroundColor = AppColor.colorSpamReportBannerButtonBackground;
|
||||
static const Color positiveButtonTextColor = AppColor.primaryColor;
|
||||
static const Color negativeButtonTextColor = AppColor.textFieldErrorBorderColor;
|
||||
|
||||
+1
@@ -7,4 +7,5 @@ class SpamReportBannerLabelStyles {
|
||||
static const double labelTextSize = 16;
|
||||
static const double space = 8;
|
||||
static const Color labelTextColor = AppColor.colorSpamReportBannerLabelColor;
|
||||
static const Color highlightLabelTextColor = AppColor.primaryColor;
|
||||
}
|
||||
@@ -7,10 +7,7 @@ class SpamReportBannerStyles {
|
||||
static const double verticalMargin = 8;
|
||||
static const double padding = 12;
|
||||
static const double borderRadius = 12;
|
||||
static const double iconSize = 24;
|
||||
static const double labelTextSize = 16;
|
||||
static const double space = 8;
|
||||
static Color backgroundColor = AppColor.colorSpamReportBannerBackground.withOpacity(0.12);
|
||||
static const Color strokeBorderColor = AppColor.colorSpamReportBannerStrokeBorder;
|
||||
static const Color labelTextColor = AppColor.colorSpamReportBannerLabelColor;
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
|
||||
import 'package:core/presentation/extensions/color_extension.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
class SpamReportBannerWebStyles {
|
||||
static const double horizontalMargin = 16;
|
||||
static const double verticalMargin = 16;
|
||||
static const double verticalPadding = 8;
|
||||
static const double horizontalPadding = 16;
|
||||
static const double borderRadius = 12;
|
||||
static Color backgroundColor = AppColor.colorSpamReportBannerBackground.withOpacity(0.12);
|
||||
static const Color strokeBorderColor = AppColor.colorSpamReportBannerStrokeBorder;
|
||||
}
|
||||
Reference in New Issue
Block a user