From 5f1df401dce5017b7156e9fe499ed3a46e82db59 Mon Sep 17 00:00:00 2001 From: Zhou Weidong <502333560@qq.com> Date: Mon, 19 Oct 2026 10:23:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(ui):=20=E4=BF=9D=E7=95=99=E7=A9=BA=E6=80=81?= =?UTF-8?q?=E6=97=A2=E6=9C=89=E5=AD=97=E5=8F=B7=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/core/theme/app_dimens.dart | 2 ++ lib/core/widgets/empty_state.dart | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/core/theme/app_dimens.dart b/lib/core/theme/app_dimens.dart index 809af25..416af11 100644 --- a/lib/core/theme/app_dimens.dart +++ b/lib/core/theme/app_dimens.dart @@ -17,6 +17,8 @@ abstract final class AppDimens { static const double pillRadius = 20; static const double caption = 12; + static const double emptyStateSubtitle = 12.5; + static const double emptyStateAction = 13; static const double body = 14; static const double listTitle = 15; static const double sectionTitle = 16; diff --git a/lib/core/widgets/empty_state.dart b/lib/core/widgets/empty_state.dart index 40c2e62..da31b46 100644 --- a/lib/core/widgets/empty_state.dart +++ b/lib/core/widgets/empty_state.dart @@ -140,7 +140,7 @@ class _EmptyCopy extends StatelessWidget { textAlign: TextAlign.center, style: const TextStyle( color: AppColors.muted, - fontSize: AppDimens.caption, + fontSize: AppDimens.emptyStateSubtitle, height: 1.45, ), ), @@ -158,7 +158,7 @@ class _EmptyCopy extends StatelessWidget { ), child: Text( actionLabel!, - style: const TextStyle(fontSize: AppDimens.body), + style: const TextStyle(fontSize: AppDimens.emptyStateAction), ), ), ],