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:
@@ -102,6 +102,11 @@ class _DmButtonState extends State<DmButton> {
|
||||
? DmColors.surfaceAlt
|
||||
: (_down ? DmColors.brandPress : DmColors.brand);
|
||||
foreground = _enabled ? Colors.white : DmColors.ink3;
|
||||
// A disabled primary on the deepened canvas is a 1% step from it, so
|
||||
// the screen's one action read as a grey smear rather than as a
|
||||
// button waiting for the form to be filled. The edge is what keeps it
|
||||
// a button.
|
||||
if (!_enabled) border = Border.all(color: DmColors.border);
|
||||
shadow = _enabled && !_down ? DmShadow.lift : null;
|
||||
// Lit like the sphere, and only while it can be pressed: a disabled
|
||||
// control that still catches the light is a control that is lying.
|
||||
@@ -109,7 +114,7 @@ class _DmButtonState extends State<DmButton> {
|
||||
? const LinearGradient(
|
||||
begin: Alignment.topLeft,
|
||||
end: Alignment.bottomRight,
|
||||
colors: [Color(0xFFA6180B), DmColors.brand, Color(0xFF7A0C04)],
|
||||
colors: [DmColors.brandLit, DmColors.brand, DmColors.brandPress],
|
||||
stops: [0.0, 0.55, 1.0],
|
||||
)
|
||||
: null;
|
||||
|
||||
Reference in New Issue
Block a user