fix(ui): 保留空态既有字号口径
This commit is contained in:
1 parent
c5bfd006fa
commit
5f1df401dc
2 files changed
+4
-2
No files matched your search
@@ -17,6 +17,8 @@ abstract final class AppDimens {
|
|||||||
static const double pillRadius = 20;
|
static const double pillRadius = 20;
|
||||||
|
|
||||||
static const double caption = 12;
|
static const double caption = 12;
|
||||||
|
static const double emptyStateSubtitle = 12.5;
|
||||||
|
static const double emptyStateAction = 13;
|
||||||
static const double body = 14;
|
static const double body = 14;
|
||||||
static const double listTitle = 15;
|
static const double listTitle = 15;
|
||||||
static const double sectionTitle = 16;
|
static const double sectionTitle = 16;
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ class _EmptyCopy extends StatelessWidget {
|
|||||||
textAlign: TextAlign.center,
|
textAlign: TextAlign.center,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
color: AppColors.muted,
|
color: AppColors.muted,
|
||||||
fontSize: AppDimens.caption,
|
fontSize: AppDimens.emptyStateSubtitle,
|
||||||
height: 1.45,
|
height: 1.45,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
@@ -158,7 +158,7 @@ class _EmptyCopy extends StatelessWidget {
|
|||||||
),
|
),
|
||||||
child: Text(
|
child: Text(
|
||||||
actionLabel!,
|
actionLabel!,
|
||||||
style: const TextStyle(fontSize: AppDimens.body),
|
style: const TextStyle(fontSize: AppDimens.emptyStateAction),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user