Redesign on the Stitch reference, in Plus Jakarta Sans

Four passes, and the shape they landed on.

The type face is Plus Jakarta Sans (variable, wght 200-800), which brings a
fix with it: it carries the rupee glyph and Switzer does not, so prices stop
being set in Geist Mono to work around a missing character. Mono stays where
it is earned - references and phone numbers, read digit by digit.

Surfaces lift rather than outline. Cards carry two very soft shadow layers
instead of a hairline, because eight outlined boxes down a screen read as a
wireframe. The tab bar floats as a pill again for the same reason it was
right to: it is now the same kind of object as everything above it.

Screens:

* Home is the greeting, the address, the sphere and one card. The card lost
  its progress bar - a filling line says "wait", and a parcel two days into
  a journey is not something anyone is waiting through - and gained the size
  that buys.
* Orders cards are four bands: identity, destination, route, and whatever is
  happening right now. Plus a search field, because the list is the archive.
* Tracking leads with the state at display size, then TRIP MILESTONES with a
  step counter, then the courier.
* Review is a route thread over two particular cards.
* Account opens on the person: avatar, name, and two counted figures.

Three real bugs the redesign surfaced:

* Quick dispatch handed `loadCities()` straight to a FutureBuilder, so the
  catalogue was refetched on every rebuild and Home never settled.
* Order cards showed the whole visit's weight on one destination's row -
  somebody else's parcel. Per group now, and only once actually weighed.
* The pickup window was printed beside "In transit", where it reads as a
  delivery time nobody promised.

Nothing invented. The reference shows EXPRESS PRIORITY, CARBON OFFSET,
CONCIERGE ELITE and hub-to-hub routing; this backend sends none of them, so
they are absent rather than mocked up.

flutter analyze: clean. flutter test: 88 passing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EqVJPB9B4QuieZnBAAKgYQ
This commit is contained in:
2026-09-24 11:08:25 +05:30
parent 06fa6b797a
commit 86b6af48c2
73 changed files with 3398 additions and 1722 deletions

View File

@@ -87,28 +87,19 @@ flutter:
# the material Icons class.
uses-material-design: true
# Poppins (Indian Type Foundry, SIL Open Font License) is the app's voice as
# of 2026-09-22.
# Switzer (Indian Type Foundry, via Fontshare) is the app's voice as of
# 2026-09-23. One variable file, so the weight is selected through the `wght`
# axis in `DmText` rather than by bundling a file per cut.
#
# Unlike the faces before it, Poppins has **no variable release** — Google
# Fonts ships it only as static cuts. So it is four files, one per weight the
# design actually uses, and `DmText` selects between them with `fontWeight`
# alone: there is no `wght` axis to move, and a `fontVariations` on a static
# font is silently ignored. Four cuts is ~625 KB against Manrope's single
# 165 KB variable file, which is the price of this typeface.
#
# Geist Mono stays variable, and its styles still carry `fontVariations`.
# It replaced Poppins, which has no variable release: four static cuts at
# ~155 KB each, 625 KB of sans. This is 141 KB and covers 100-900.
fonts:
- family: Poppins
- family: PlusJakartaSans
fonts:
- asset: assets/fonts/Poppins-Medium.ttf
weight: 500
- asset: assets/fonts/Poppins-SemiBold.ttf
weight: 600
- asset: assets/fonts/Poppins-Bold.ttf
weight: 700
- asset: assets/fonts/Poppins-ExtraBold.ttf
weight: 800
- asset: assets/fonts/PlusJakartaSans-Variable.ttf
- family: Switzer
fonts:
- asset: assets/fonts/Switzer-Variable.ttf
- family: GeistMono
fonts:
- asset: assets/fonts/GeistMono-VF.ttf