Skip to content

Settings sub-screens in the new look - #88

Merged
gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd
Nov 17, 2026
Merged

gabrielbr merged 1 commit into
mainfrom
ccr-67ccb970-dqwwqd

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

Every screen behind a Settings row, behind Debug → New look. That is 18 screens, including AI tools on your network, Accuracy check and Use without a ring.

How

They are converted through the parts they share, not one by one:

  • SettingsSubScreen scaffold:
    • Calm bar, page, 20dp gutter and 720dp cap.
    • New CalmMaterial: the new look's neutrals in Material's colour roles, plus Inter. Most of these screens read MaterialTheme (captions, switches, fields, dialogs), so they follow it without edits.
    • Input outlines use textMuted, so a field's boundary keeps 3:1.
    • Sets the tonal-button role the app's colour scheme never set. Material's default lavender was showing through.
  • Look instead of PulseColors: SubScreenCard, the profile and goal editors, Language and AI tools now read Look for neutrals, radius and title styles. In the old look Look returns the same values, so the old look is unchanged.
  • Labels: SectionHeaderCaps now uses LookLabel: caps in the old look, sentence case in the new.
  • Segmented choices: PulseSegmented (also used on Sleep and Vitals) and the profile's segments mark the choice with a raised surface in the new look, not a mint fill. Mint stays for what to tap.

Checks

  • Renders: all 18 screens were rendered on the JVM with Robolectric in the real PulseLoopTheme. The harness used an in-memory Keystore stand-in and is not committed. Fixed from the renders:
    • lavender tonal buttons;
    • old mono font and mint fill on the segmented control;
    • mint-filled profile segments;
    • goal-screen caps labels, monospace values and dithered tiles.
  • Tests: full unit suite, 2065 tests. The same 3 environment-only failures as main has in this container.
  • Audit: audits/2026-11-17-new-look-settings-subscreens.md.
  • Still old-styled: the coach's dropdowns keep mint text, and Lab reports' own labels. Both are listed in docs/new-look-plan.md.
  • Design canvas: not updated in this PR.

Generated by Claude Code

Every screen behind a Settings row, behind Debug → New look, converted
through what they share:
- SettingsSubScreen: calm bar, page, gutter, 720dp cap, and CalmMaterial
  (the new look's neutrals in Material's colour roles plus Inter), which
  carries the screens that read MaterialTheme. It also sets the tonal
  role the app's scheme never set.
- SubScreenCard, the profile and goal editors, Language and AI tools on
  your network read Look, which returns the old values in the old look.
- SectionHeaderCaps uses LookLabel: sentence case in the new look.
- PulseSegmented and the profile's segments mark the choice with a
  raised surface instead of mint.

Audit: audits/2026-11-17-new-look-settings-subscreens.md.

Claude-Session: https://claude.ai/code/session_01P1t1aUqSUPd3whKXmgVm7w
@gabrielbr
gabrielbr merged commit 7a353f1 into main Nov 17, 2026
1 of 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