feat(mobile): UI-03 theme calibration and account pages (01-04)

Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
浅念
2026-09-22 00:28:39 +08:00
parent 9d521ff9da
commit 95e8417553
14 changed files with 1462 additions and 234 deletions
+5 -5
View File
@@ -10,9 +10,9 @@
/// 与内容不做反色处理,沿用跟随系统的深浅色切换。容器色(secondary/
/// primaryContainer 等)由种子色派生,与 #1A73E8 同系。
///
/// 字阶(fontSize 走 TextScaler,随系统字体缩放):22 页面标题 /
/// 17 分组标题 / 16-14 正文 / 13-12 辅助。组件:主按钮高 48(区间
/// 48-52)、输入框与按钮圆角 12、卡片圆角 16、Dialog 圆角 16、
/// 字阶(fontSize 走 TextScaler,随系统字体缩放;UI-03 §3 校准):24
/// 页面标题 / 17 分组标题 / 16-14 正文 / 13-12 辅助。组件:主按钮高 48
/// (区间 48-52)、输入框与按钮圆角 12、卡片圆角 16、Dialog 圆角 16、
/// BottomSheet 顶部圆角 16。动效时长常量见 ui/tokens.dart。
library;
@@ -211,7 +211,7 @@ abstract final class AppTheme {
borderSide: BorderSide(color: color, width: width),
);
/// 字阶(方案 §3.1):22 页面标题 / 17 分组 / 16-14 正文 / 13-12 辅助。
/// 字阶(UI-03 §3):24 页面标题 / 17 分组 / 16-14 正文 / 13-12 辅助。
///
/// 只声明 fontSize/字重/颜色,字体族与缩放交给默认排版 + TextScaler
/// (fontSize 随系统字体大小缩放)。
@@ -220,7 +220,7 @@ abstract final class AppTheme {
final onSecondaryText = scheme.onSurfaceVariant;
return TextTheme(
titleLarge: TextStyle(
fontSize: 22,
fontSize: 24,
fontWeight: FontWeight.w600,
color: onSurface,
),