feat(flutter): 修复登录输入并升级登录页
This commit is contained in:
1 parent
f72cb41670
commit
81bb1543bb
5 files changed
+233
-141
No files matched your search
@@ -76,10 +76,7 @@ class _AuthCard extends StatelessWidget {
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.card,
|
||||
borderRadius: BorderRadius.circular(_cardRadius),
|
||||
border: Border.all(
|
||||
color: AppColors.outlineVariantDark,
|
||||
width: _cardBorderWidth,
|
||||
),
|
||||
boxShadow: const [AppTheme.cardShadow],
|
||||
),
|
||||
child: Column(
|
||||
crossAxisAlignment: CrossAxisAlignment.stretch,
|
||||
@@ -94,7 +91,7 @@ class _AuthCard extends StatelessWidget {
|
||||
Text(
|
||||
status.signUpMode ? l10n.authSignUpTitle : l10n.authSignInTitle,
|
||||
style: const TextStyle(
|
||||
color: AppColors.onPrimary,
|
||||
color: AppColors.onSurface,
|
||||
fontSize: 25,
|
||||
fontWeight: FontWeight.w800,
|
||||
height: 1.2,
|
||||
@@ -149,12 +146,11 @@ class _AuthModeSwitch extends StatelessWidget {
|
||||
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(22)),
|
||||
),
|
||||
child: Container(
|
||||
height: _minTapTarget,
|
||||
padding: const EdgeInsets.all(3),
|
||||
height: 36,
|
||||
padding: const EdgeInsets.all(2),
|
||||
decoration: BoxDecoration(
|
||||
color: AppColors.bar,
|
||||
borderRadius: BorderRadius.circular(22),
|
||||
border: Border.all(color: AppColors.outlineVariantDark),
|
||||
color: AppColors.raised,
|
||||
borderRadius: BorderRadius.circular(18),
|
||||
),
|
||||
child: Row(
|
||||
children: [
|
||||
|
||||
Reference in new issue
Block a user