Fix login view background color

Signed-off-by: dab246 <tdvu@linagora.com>
(cherry picked from commit e0d25fbd6be827048f249ffd236ce1718129515e)
This commit is contained in:
dab246
2023-12-05 02:08:03 +07:00
committed by Dat H. Pham
parent 8d8145fd4c
commit 506eaabb4b
2 changed files with 50 additions and 42 deletions
@@ -233,6 +233,7 @@ extension AppColor on Color {
static const messageDialogHighlightColor = Color(0xFF37383A); static const messageDialogHighlightColor = Color(0xFF37383A);
static const labelColor = Color(0xFF71767C); static const labelColor = Color(0xFF71767C);
static const thumbScrollbarColor = Color(0xFFC1C1C1); static const thumbScrollbarColor = Color(0xFFC1C1C1);
static const loginViewShadowColor = Color(0x3DBCBCBC);
static const mapGradientColor = [ static const mapGradientColor = [
[Color(0xFF21D4FD), Color(0xFFB721FF)], [Color(0xFF21D4FD), Color(0xFFB721FF)],
@@ -156,16 +156,25 @@ class LoginView extends BaseLoginView {
), ),
Column( Column(
children: [ children: [
SizedBox( Container(
height: 690, height: 684,
width: 445, width: 458,
child: Card( padding: const EdgeInsets.symmetric(horizontal: 31),
clipBehavior: Clip.antiAlias,
decoration: const ShapeDecoration(
color: Colors.white,
shape: RoundedRectangleBorder( shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(20.0), borderRadius: BorderRadius.all(Radius.circular(20)),
),
shadows: [
BoxShadow(
color: AppColor.loginViewShadowColor,
blurRadius: 40,
offset: Offset(0, 2),
spreadRadius: 2,
)
],
), ),
elevation: 10,
child: Padding(
padding: const EdgeInsets.only(left: 31, right: 31),
child: Column( child: Column(
mainAxisAlignment: MainAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.center, crossAxisAlignment: CrossAxisAlignment.center,
@@ -200,8 +209,6 @@ class LoginView extends BaseLoginView {
), ),
], ],
) )
)
)
), ),
Padding( Padding(
padding: const EdgeInsets.only(top: 44, bottom: 10), padding: const EdgeInsets.only(top: 44, bottom: 10),