62 lines
2.1 KiB
Dart
62 lines
2.1 KiB
Dart
// Author: fruit.com.cn
|
|
|
|
/// Cross-page spacing, type, radius, and control sizes.
|
|
abstract final class AppDimens {
|
|
static const double spaceXs = 4;
|
|
static const double spaceSm = 8;
|
|
static const double spaceMd = 12;
|
|
static const double spaceLg = 16;
|
|
static const double spaceXl = 24;
|
|
|
|
static const double pageHorizontal = 16;
|
|
static const double cardRadius = 12;
|
|
static const double authCardRadius = 20;
|
|
static const double cardPadding = 16;
|
|
static const double innerRadius = 10;
|
|
static const double innerPadding = 12;
|
|
static const double pillRadius = 20;
|
|
static const double glassSmallRadius = 12;
|
|
static const double glassRadius = 14;
|
|
static const double glassCardRadius = 14;
|
|
static const double buttonRadius = 9;
|
|
static const double coverRadius = 10;
|
|
|
|
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;
|
|
static const double pageTitle = 20;
|
|
static const double detailHeadline = 24;
|
|
static const double detailHeadlineSmall = 18;
|
|
static const double previewCardTitle = 13;
|
|
static const double previewSectionTitle = 14;
|
|
static const double chipFont = 10;
|
|
static const double navLabel = 9;
|
|
|
|
static const double buttonHeight = 48;
|
|
static const double primaryButtonHeight = 52;
|
|
static const double buttonCompact = 32;
|
|
static const double buttonSmall = 34;
|
|
static const double buttonMedium = 40;
|
|
static const double buttonLarge = 44;
|
|
static const double tapTarget = 44;
|
|
|
|
static const double navHeight = 54;
|
|
static const double navIcon = 17;
|
|
static const double progressHeight = 3;
|
|
static const double progressRadius = 2;
|
|
static const double progressLineHeight = 3;
|
|
|
|
static const double searchHeight = 44;
|
|
static const double navDot = 3;
|
|
static const double glassBlur = 24;
|
|
|
|
static const double accountCardHeight = 64;
|
|
static const double accountIcon = 18;
|
|
static const double accountLabel = 11;
|
|
|
|
static const double watchPlaceholderHeight = 114;
|
|
}
|