From 4682229a8ca518402cbdfc4a3f2cf5a2573fa871 Mon Sep 17 00:00:00 2001 From: hailin Date: Mon, 23 Feb 2026 17:18:17 -0800 Subject: [PATCH] =?UTF-8?q?fix(welcome):=20=E5=93=81=E7=89=8C=E5=90=8D?= =?UTF-8?q?=E4=B8=A5=E6=A0=BC=E9=81=B5=E5=BE=AA=20lockup=20=E8=AE=BE?= =?UTF-8?q?=E8=AE=A1=E8=A7=84=E8=8C=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 按 genex-lockup.svg 规范修正品牌名渲染: - "GEN" = 深色 #1A103A (solid) - "EX" = 渐变 #D946EF → #E11D89 (ShaderMask) - fontWeight: 800, letterSpacing: -0.3 之前错误地将整个"Genex"做成全渐变,不符合品牌 VI。 Co-Authored-By: Claude Opus 4.6 --- .../auth/presentation/pages/welcome_page.dart | 36 +++++++++++++------ 1 file changed, 25 insertions(+), 11 deletions(-) diff --git a/frontend/genex-mobile/lib/features/auth/presentation/pages/welcome_page.dart b/frontend/genex-mobile/lib/features/auth/presentation/pages/welcome_page.dart index 8f90670..5e7e395 100644 --- a/frontend/genex-mobile/lib/features/auth/presentation/pages/welcome_page.dart +++ b/frontend/genex-mobile/lib/features/auth/presentation/pages/welcome_page.dart @@ -32,18 +32,32 @@ class WelcomePage extends StatelessWidget { ), const SizedBox(height: 12), - // Brand Name — 使用 logo 同色系渐变 - ShaderMask( - shaderCallback: (bounds) => const LinearGradient( - colors: [Color(0xFF9B5CF6), Color(0xFFD946EF)], - ).createShader(bounds), - child: Text( - 'Genex', - style: AppTypography.displayLarge.copyWith( - color: Colors.white, // ShaderMask 需要白色底 - letterSpacing: 2, + // Brand Name — 遵循 lockup 设计: "GEN" 深色 + "EX" 渐变 + Row( + mainAxisSize: MainAxisSize.min, + children: [ + Text( + 'GEN', + style: AppTypography.displayLarge.copyWith( + color: const Color(0xFF1A103A), + fontWeight: FontWeight.w800, + letterSpacing: -0.3, + ), ), - ), + ShaderMask( + shaderCallback: (bounds) => const LinearGradient( + colors: [Color(0xFFD946EF), Color(0xFFE11D89)], + ).createShader(bounds), + child: Text( + 'EX', + style: AppTypography.displayLarge.copyWith( + color: Colors.white, + fontWeight: FontWeight.w800, + letterSpacing: -0.3, + ), + ), + ), + ], ), const SizedBox(height: 6),