miler map
This commit is contained in:
@@ -734,7 +734,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
'Today',
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 19.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.4,
|
||||
),
|
||||
),
|
||||
@@ -799,7 +799,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
// The brief's `display-lg`, which is what a figure the page is
|
||||
// answering with is meant to be set at.
|
||||
fontSize: 30.sp,
|
||||
fontWeight: FontWeight.w800,
|
||||
fontWeight: FontWeight.w900,
|
||||
letterSpacing: -1,
|
||||
height: 1.0,
|
||||
fontFeatures: const [FontFeature.tabularFigures()],
|
||||
@@ -816,7 +816,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
style: TextStyle(
|
||||
fontSize: 13.sp,
|
||||
height: 1.0,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
color: Narrative.inkSoft,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -925,7 +925,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
),
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 13.5.sp,
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -1042,7 +1042,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
// a pill is as wide as its own label, so `Cancelled` no
|
||||
// longer has to fit the width `All` was given.
|
||||
fontSize: 13.5.sp,
|
||||
fontWeight: selected ? FontWeight.w700 : FontWeight.w600,
|
||||
fontWeight: selected ? FontWeight.w800 : FontWeight.w700,
|
||||
letterSpacing: -0.1,
|
||||
color: selected ? Colors.white : Narrative.inkMuted,
|
||||
),
|
||||
@@ -1060,7 +1060,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
'$_attentionCount',
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 13.5.sp,
|
||||
fontWeight: FontWeight.w800,
|
||||
fontWeight: FontWeight.w900,
|
||||
color: selected ? Colors.white : Narrative.amber,
|
||||
),
|
||||
),
|
||||
@@ -1279,7 +1279,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
'Trip ${trip.tripNumber == 0 ? slot + 1 : trip.tripNumber}',
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.3,
|
||||
),
|
||||
),
|
||||
@@ -1381,7 +1381,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
Widget _dotted(List<(String, Color)> parts, {double size = 13}) {
|
||||
final style = MilerType.micro.copyWith(
|
||||
fontSize: size.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
);
|
||||
return Wrap(
|
||||
crossAxisAlignment: WrapCrossAlignment.center,
|
||||
@@ -1419,7 +1419,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
textAlign: TextAlign.center,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.secondaryText,
|
||||
),
|
||||
),
|
||||
@@ -1778,7 +1778,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
style: MilerType.body.copyWith(
|
||||
// `title-lg`: the card's own heading.
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: -0.2,
|
||||
color: Narrative.ink,
|
||||
),
|
||||
@@ -1815,7 +1815,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
color:
|
||||
ColorConstants.moneyGreen,
|
||||
).copyWith(
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -1829,7 +1829,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
12.5,
|
||||
color: Narrative.inkMuted,
|
||||
).copyWith(
|
||||
fontWeight: FontWeight.w500,
|
||||
fontWeight: FontWeight.w600,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -1886,7 +1886,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.micro.copyWith(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: ColorConstants.warning,
|
||||
),
|
||||
),
|
||||
@@ -1962,7 +1962,7 @@ class _ActivityPageState extends State<ActivityPage>
|
||||
'Resume stop',
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 13.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
color: ColorConstants.primary,
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user