style(ui): 统一页面字号间距与状态样式

This commit is contained in:
Zhou Weidong committed 2026-10-19 10:21:28 +08:00
1 parent df5fbe5b08
commit c5bfd006fa
23 files changed
+542 -569

No files matched your search

+7 -3
View File
@@ -3,6 +3,7 @@
import 'package:flutter/material.dart';
import '../theme/app_colors.dart';
import '../theme/app_dimens.dart';
const double _regularIconSize = 48;
const double _compactIconSize = 32;
@@ -139,7 +140,7 @@ class _EmptyCopy extends StatelessWidget {
textAlign: TextAlign.center,
style: const TextStyle(
color: AppColors.muted,
fontSize: 12.5,
fontSize: AppDimens.caption,
height: 1.45,
),
),
@@ -151,11 +152,14 @@ class _EmptyCopy extends StatelessWidget {
key: actionKey ?? const Key('empty-state-action'),
onPressed: onAction,
style: TextButton.styleFrom(
foregroundColor: scheme.primary,
foregroundColor: AppColors.blueSoft,
minimumSize: const Size(44, _actionMinHeight),
padding: const EdgeInsets.symmetric(horizontal: 14),
),
child: Text(actionLabel!, style: const TextStyle(fontSize: 13)),
child: Text(
actionLabel!,
style: const TextStyle(fontSize: AppDimens.body),
),
),
],
],