fix(home): 调整一级分类未选字号

This commit is contained in:
Zhou Weidong committed 2026-10-22 18:29:22 +08:00
1 parent da69a058b4
commit 325f7c1f5d
5 files changed
+5 -4

No files matched your search

+1
View File
@@ -80,6 +80,7 @@ abstract final class AppColors {
static const textPrimary = Color(0xFFFFFFFF);
static const textSecondary = Color(0xFF8E8E93);
static const textTertiary = Color(0xFF9E9E9E);
static const textTabInactive = Color(0xFFB0B0B0);
/// 原生开屏与冷启动过渡底色。
static const splashInk = ink;
+1 -1
View File
@@ -100,7 +100,7 @@ abstract final class AppDimens {
static const double cardTitleTagGap = 6;
static const double cardCoverAspectRatio = 5 / 6;
static const double homeCardBodyExtent = 84;
static const double homePrimaryTabFont = 16;
static const double homePrimaryTabFont = 18;
static const double homePrimaryTabSelectedFont = 20;
static const double homePrimaryRowHeight = 30;
static const Duration homePrimaryTabAnimationDuration = Duration(
+1 -1
View File
@@ -286,7 +286,7 @@ class HomeGridHeader extends StatelessWidget {
style: TextStyle(
color: selected
? AppColors.navSelected
: AppColors.textTertiary,
: AppColors.textTabInactive,
fontSize: selected
? AppDimens.homePrimaryTabSelectedFont
: AppDimens.homePrimaryTabFont,