Files
buzz/mobile/lib/shared/theme/grid.dart
klopez4212 8cc7e94392 Refine mobile Messages sections, Duo navigation, and chat typography (#9885)
## Summary

- Organize mobile Messages into configurable flat sections. See All
keeps the list and its search position when opening a conversation, and
supports side-by-side browsing on an unfolded Duo.
- Use the same 16-point Messages gutter in booklet and open Duo layouts.
The regular iPhone uses 20 points. Align navigation actions and use
native inline titles on See All.
- Update mobile typography and spacing across chat rows, message
bubbles, drafts, and the composer. Render code proportionally to the
17-point message body.

## Device review

Compare the leading edges of the section headings and channel icons in
Messages on the open Duo and in booklet mode. Open See All and check
that its rows follow the same column.

---------

Signed-off-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
Signed-off-by: kenny lopez <klopez4212@gmail.com>
Co-authored-by: Terp <5856f6900e8e0a4e0ea1f4f8d2ee33e4753d2119bc122f94ecafc660b46c0511@buzz.block.builderlab.xyz>
2026-11-23 13:14:05 -08:00

53 lines
1.4 KiB
Dart

class Grid {
/// Space beneath the header actions reserved for row accessories.
static const double inventoryAccessoryWidth = 92;
/// Leading column shared by inventory rows and custom section headings.
static const double inventoryIconSize = 20.0;
/// Gap from inventory icons to labels.
static const double inventoryLabelGap = 8.0;
/// Space above each Messages section label.
static const double inventorySectionTopInset = 18.0;
/// Vertical inset for a 44-point inventory row with a 22-point label.
static const double inventoryRowInset = 11.0;
/// Quarter spacing - 2 pixels
static const double quarter = 2.0;
/// Half spacing - 4 pixels
static const double half = 4.0;
/// Extra extra small spacing - 8 pixels
static const double xxs = 8.0;
/// Twelve spacing - 12 pixels
static const double twelve = 12.0;
/// Extra small spacing - 16 pixels
static const double xs = 16.0;
/// Standard app content gutter - 20 pixels
static const double gutter = 20.0;
/// Small spacing - 24 pixels
static const double sm = 24.0;
/// Medium spacing - 32 pixels
static const double md = 32.0;
/// Large spacing - 40 pixels
static const double lg = 40.0;
/// Extra large spacing - 48 pixels
static const double xl = 48.0;
/// Extra extra large spacing - 64 pixels
static const double xxl = 64.0;
/// Extra extra extra large spacing - 80 pixels
static const double xxxl = 80.0;
}