Skip to content

Audit fixes: chrome, type scale, colour roles, touch targets, adaptivity - #54

Merged
gabrielbr merged 2 commits into
mainfrom
ccr-67ccb970-dqwwqd
Oct 31, 2026
Merged

gabrielbr merged 2 commits into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

Implements the fixes from the impeccable and graphic-design-fundamentals audit of v2.11.51.

Navigation and layout

  • Landscape header: landscape keeps a compact header. Before, it dropped the header, which was the only route to Settings and the ring.
  • Wide screens: from 600dp the tabs move to a NavigationRail, and tab content caps at 720dp.
  • Ring pill: it opens Ring & sync and has a 48dp touch target; the gear opens Settings.
  • Launch and Back: the window theme is dark, so cold start no longer flashes white, and predictive Back is enabled.

Type and colour

  • Type scale: PulseType sets one size per role (12/14/16/20/24/28/32/40) with a 12sp floor and one eyebrow style. PulseTypeScaleTest fails on any other size in the main screens.
  • Gauge labels on Today: the zone verdict moves under the ring at 12sp (it rendered at about 7sp).
  • Colour roles: success, in range and connected get their own green; REM is cyan; connecting is amber; deep sleep is lifted to 3.3:1 on the card. Mint stays the brand and the thing to tap.

Touch targets and accessibility

  • 48dp buttons: "+ Log meal", Undo and the My Health section toggles are real 48dp buttons, and the toggles report their state.
  • TalkBack: tappable cards announce themselves as buttons, sparklines speak their trend, and row arrows are mirrored icons instead of a "›" glyph.

Consistency

  • One of each: one card radius (8dp), one calorie unit (kcal), and one Material segmented control (Sleep range, vital period).
  • Titles: tabs have no title of their own, and My Health and Readiness use a CenterAlignedTopAppBar.
  • Readiness: it is the larger centre ring on Today.
  • Activity: Record is a tonal button, so the Actions button stays the only filled accent. "TAP TO EDIT GOALS" is removed.
  • Nutrition: logging is one row, and the tab scrolls under the glass bars like the others.

Performance

  • The blur runs only on the tabs, My Health is a LazyColumn, and the ring art holds still under Remove animations.

Translations and docs

  • Untranslated strings are wrapped in tr() with pt-BR entries, and the tab label is "Vitais".
  • AGENTS.md has a new section on these rules.

Design files: the canvas stylesheet, the Today, Activity, Vitals, Nutrition, My Health and Settings boards, and the design system's tokens (colours, type, radius) are updated, and the canvas's copy of the tokens is refreshed.


Generated by Claude Code

From the impeccable + graphic-design audit of v2.11.51:
- Landscape keeps a compact header (Settings and the ring were unreachable);
  from 600dp the tabs move to a NavigationRail and tab content caps at 720dp.
- Ring pill opens Ring & sync with a 48dp target; the gear opens Settings.
- Dark window theme (no white flash on launch); predictive Back on.
- Type scale (PulseType): 12sp floor, one eyebrow style, sizes snapped to
  12/14/16/20/24/28/32/40 in the main screens, guarded by PulseTypeScaleTest.
- Gauge verdict on Today moves under the ring at 12sp (was ~7sp).
- "+ Log meal", Undo and the My Health section toggle are real 48dp buttons;
  tappable cards announce themselves as buttons; sparklines speak a trend.
- Colour roles: success has its own green, REM is cyan, connecting is amber,
  deep sleep lifted to 3.3:1 on the card.
- One card radius (8dp), one calorie unit (kcal), no per-tab titles, one
  Material segmented control, CenterAlignedTopAppBar on My Health/Readiness.
- Readiness is the larger centre ring on Today.
- Activity's Record is tonal (one filled accent per screen); Nutrition logs
  from one row; "TAP TO EDIT GOALS" removed.
- Nutrition scrolls under the glass like the other tabs; blur only on tabs;
  My Health is a LazyColumn; RingArtView holds still under Remove animations.
- Untranslated strings wrapped in tr() with pt-BR entries; "Vitais" tab label.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit 034caf4 into main Oct 31, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants