Skip to content

Sleep in the new look: one calm card surface, the night as the statement - #81

Merged
gabrielbr merged 2 commits into
mainfrom
ccr-67ccb970-dqwwqd
Nov 16, 2026
Merged

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

Conversation

@gabrielbr

Copy link
Copy Markdown
Owner

This puts Sleep in the new look, behind Debug → New look (off by default).

What changes

The structure stays the same: the night carousel, hypnogram, stages, records and the range views. Sleep is the tab people open to see why a night went the way it did, so all of that is kept.

Changes when the new look is on:

  • One card style. Every Sleep card uses the same calm card (sleepCard()), with a 12dp radius and a hairline border.
  • Labels in sentence case. Card labels no longer use tracked caps (SleepLabel).
  • The night's duration as the statement. It is shown in CalmType.score (40sp Inter), and the hero loses its dither fade.
  • The page. The tab gets the new page colour, the 20dp gutter, a 720dp width cap, and CalmTypography.
  • Debug caption now lists Sleep, with its pt-BR entry. docs/new-look-plan.md is updated.

Audit

audits/2026-11-16-new-look-sleep.md covers the four skills, with impeccable loaded.

Check Score
Native audit 18/20
Critique 31/40

No P0 or P1 findings.

Still in the old style (NL-4): the range selector, the day header, the records card, the sleep balance card, and the My Health entry card.

Not checked yet

  • On a device: there is no emulator in this session, so the screen still needs checking on a phone.
  • Design canvas: the Sleep board in the new look is still owed.

Generated by Claude Code

Behind Debug -> New look. Same structure (carousel, hypnogram, stages, records, ranges): every
Sleep card shares sleepCard(), labels are sentence case (SleepLabel), the duration is
CalmType.score, the hero loses its dither fade, and the tab gets the page colour, gutter, 720dp
cap and CalmTypography. Four-skill audit in audits/, plan notes in docs/new-look-plan.md.

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