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,
|
||||
),
|
||||
),
|
||||
|
||||
@@ -117,7 +117,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: TextStyle(
|
||||
fontSize: 12.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: -0.2,
|
||||
color: ColorConstants.onAccent.withValues(alpha: 0.72),
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
@@ -254,7 +254,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 23.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.6,
|
||||
height: 1.15,
|
||||
color: mark,
|
||||
@@ -274,7 +274,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.micro.copyWith(
|
||||
fontSize: 13.5.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -321,7 +321,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
style: MilerType.figure(
|
||||
13.sp,
|
||||
color: ColorConstants.slateText,
|
||||
).copyWith(fontWeight: FontWeight.w700),
|
||||
).copyWith(fontWeight: FontWeight.w800),
|
||||
),
|
||||
SizedBox(height: 2.h),
|
||||
Text(
|
||||
@@ -382,7 +382,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
note ?? 'Arrived later than planned',
|
||||
style: MilerType.micro.copyWith(
|
||||
fontSize: 13.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: late
|
||||
? ColorConstants.warning
|
||||
: ColorConstants.secondaryText,
|
||||
@@ -536,7 +536,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
style: MilerType.figure(
|
||||
13.5,
|
||||
color: ColorConstants.slateText,
|
||||
).copyWith(fontWeight: FontWeight.w700),
|
||||
).copyWith(fontWeight: FontWeight.w800),
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -577,7 +577,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
style: MilerType.figure(
|
||||
18,
|
||||
color: tint ?? ColorConstants.slateText,
|
||||
).copyWith(fontWeight: FontWeight.w700, letterSpacing: -0.4),
|
||||
).copyWith(fontWeight: FontWeight.w800, letterSpacing: -0.4),
|
||||
),
|
||||
),
|
||||
],
|
||||
@@ -662,7 +662,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
'Proof of delivery',
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.3,
|
||||
),
|
||||
),
|
||||
@@ -717,7 +717,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
'View full',
|
||||
style: TextStyle(
|
||||
fontSize: 11.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
color: ColorConstants.onAccent,
|
||||
fontFamily: FontConstants.fontFamily,
|
||||
),
|
||||
@@ -748,7 +748,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.micro.copyWith(
|
||||
fontSize: 12.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
),
|
||||
),
|
||||
),
|
||||
@@ -1259,7 +1259,7 @@ class DeliveryDetailsPage extends StatelessWidget {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.micro.copyWith(
|
||||
fontSize: 14.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
color: ColorConstants.slateText,
|
||||
),
|
||||
),
|
||||
@@ -1461,8 +1461,8 @@ class _InfoRow extends StatelessWidget {
|
||||
// ETA or a missed one. Those keep the weight; the
|
||||
// ordinary rows are medium.
|
||||
fontWeight: good == null
|
||||
? FontWeight.w500
|
||||
: FontWeight.w600,
|
||||
? FontWeight.w600
|
||||
: FontWeight.w700,
|
||||
color: valueColor,
|
||||
),
|
||||
),
|
||||
@@ -1582,7 +1582,7 @@ class _DisclosureRowState extends State<_DisclosureRow> {
|
||||
widget.title,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 15.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: -0.2,
|
||||
),
|
||||
),
|
||||
@@ -1680,7 +1680,7 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.3,
|
||||
),
|
||||
),
|
||||
@@ -1744,7 +1744,7 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
maxLines: 1,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 12.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.1,
|
||||
color: ColorConstants.primary,
|
||||
),
|
||||
@@ -1836,7 +1836,7 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 14.5.sp,
|
||||
fontWeight: FontWeight.w700,
|
||||
fontWeight: FontWeight.w800,
|
||||
letterSpacing: -0.2,
|
||||
),
|
||||
),
|
||||
@@ -1869,7 +1869,7 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.micro.copyWith(
|
||||
fontSize: 12.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
color: Narrative.emerald,
|
||||
),
|
||||
),
|
||||
@@ -1921,7 +1921,7 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
? ColorConstants.slateText
|
||||
: ColorConstants.secondaryText,
|
||||
).copyWith(
|
||||
fontWeight: lead ? FontWeight.w700 : FontWeight.w600,
|
||||
fontWeight: lead ? FontWeight.w800 : FontWeight.w700,
|
||||
letterSpacing: 0,
|
||||
),
|
||||
),
|
||||
@@ -2030,7 +2030,7 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
overflow: TextOverflow.ellipsis,
|
||||
style: MilerType.body.copyWith(
|
||||
fontSize: 16.sp,
|
||||
fontWeight: FontWeight.w600,
|
||||
fontWeight: FontWeight.w700,
|
||||
letterSpacing: -0.3,
|
||||
),
|
||||
),
|
||||
@@ -2061,8 +2061,8 @@ class _JourneyPanelState extends State<_JourneyPanel> {
|
||||
? 14.sp
|
||||
: (lead ? 16.sp : 15.sp),
|
||||
fontWeight: point.place != null
|
||||
? FontWeight.w500
|
||||
: FontWeight.w600,
|
||||
? FontWeight.w600
|
||||
: FontWeight.w700,
|
||||
letterSpacing: -0.2,
|
||||
color: reached
|
||||
? (point.place != null
|
||||
@@ -2222,7 +2222,7 @@ class _Stepper extends StatelessWidget {
|
||||
color: lead
|
||||
? ColorConstants.slateText
|
||||
: ColorConstants.secondaryText,
|
||||
).copyWith(fontWeight: lead ? FontWeight.w700 : FontWeight.w600),
|
||||
).copyWith(fontWeight: lead ? FontWeight.w800 : FontWeight.w700),
|
||||
),
|
||||
],
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user