Skip to content

Glow × Glass redesign - #70

Closed
sayed0am wants to merge 40 commits into
developfrom
design/glow-glass
Closed

sayed0am wants to merge 40 commits into
developfrom
design/glow-glass

Conversation

@sayed0am

Copy link
Copy Markdown
Owner

Moves unstrap from the v2 look to the Glow × Glass design canvas. Looks only: no data, sync or algorithm changes.

What changes

  • Foundations: two-stop blends for every metric, place and workout family. Squircle corners (cards 48 dp, smoothing 35) and four card materials (clear glass, tinted glass, solid light, dark glow). The ground is #030304.
  • Screen light: each screen is lit by its hero's blend. The light goes up with the hero as you scroll and fades.
  • Screens: Today in all seven moments, the four tabs, every detail, sheets, workout Choose, Ready, live and summary, share cards, You and Strap, widgets, and the workout notification.
  • Header buttons: You, All metrics, back and a detail's (i) are one 44 dp glass button.
  • Level fills (Energy): blend into the dark instead of stopping at a hard edge, and ease to a new level.
  • Debug: a Corners panel (--ez corners true) and a level override (--ei level 50).
  • Baseline profile: recorded again for the new classes.

The plan, the decisions and what's still open are in docs/design/glow-glass/plan.md and status.md.

Checked

  • Unit tests, detekt, lint and the release compile pass.
  • Each section on the emulator against its board, and the Fold for the phone pass.

Not done

  • Hero light crossfade between moments.
  • Calories card on Activity.
  • TalkBack and font-scale passes.
  • Frame-time check on a mid-range phone.
  • Removing MetricColors.
  • Widgets still draw the old hard-edged level.

🤖 Generated with Claude Code

sayed0am and others added 30 commits November 13, 2026 02:25
… light

Adds squircle-shape 5.4.0, the 17 blends with chart tones and muted screen
lights, the card materials as modifiers, the #030304 ground, squircle
cards, sheets and tiles, and dotted numbers grouped by a gap.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…dark glow

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…n the workout notification

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ills

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… sleep marks

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…orkout detail

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ends

Family blend map in WorkoutStyle, WorkoutPage lit by a ScreenLight, live screens on tinted and clear glass with a
shared zone strip (zones only as dots, tracks and chips), Strength rest in bronze, Intervals pink for work and teal
for rest, squircle shapes throughout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its page

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…p labels, Edit Today switch is toggleable

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…e, zepp account, setup)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
sayed0am and others added 10 commits November 13, 2026 03:10
…hero title row, dark glass drop card, summary pages on WorkoutPage

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…izes from type roles

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… unused code)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…arams, modifier defaults)

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Corners: cards and sheets 48 dp, every squircle at smoothing 35, chosen on the
  phone with a debug Corners panel (--ez corners true) that tunes them live.
- Header buttons: You, All metrics, back and a detail's (i) are one 44 dp glass
  button, You on the strap pill's clear glass.
- Details: the page header sits on the page's light under the status bar and the
  hero is a card below it, with more room inside. No coloured ring round it.
- The screen's light comes from behind the hero and goes up with it as the list
  scrolls, fading by 60% over 600 dp (was fixed to the screen).
- Level fills (Energy) blend into the dark over half the card instead of a hard
  edge, and a new level eases there over 600 ms. Debug: --ei level 50.
- Sport tiles show their icons again on a faint family tint. More sports and the
  sport search are lit like Choose, rows tinted in their family's blend.
- Toggle and row panels have room above and below for the larger corners.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The old profile still named the v2 classes the redesign removed and missed the
new ones (materials, blends, the screen light, squircle shapes, Haze). Recorded
on the API 36 emulator with the phone's database copy, through the same
journey (launch, every tab, You, Strap, cards on each tab).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Composable
@Suppress("ModifierWithoutDefault", "ComposeModifierWithoutDefault") // the look is the card's design, always passed by the caller
internal fun PlaceHero(
lookModifier: Modifier,
ListPanel(title = group.title) {
group.rows.forEachIndexed { i, r ->
ListRow(r.name, r.color, r.value, r.status, onClick = { onOpen(r.target) }, divider = i > 0, icon = r.target.rowIcon())
val maxHeight = (LocalConfiguration.current.screenHeightDp * 0.88f).dp
val pinned = card in e.pinned
val pin = stringResource(if (pinned) R.string.glow_today_edit_pinned else R.string.glow_today_edit_pin)
PageChip(pin, pinned, { e = e.togglePin(card) }, enabled = e.canPin(card))
val maxHeight = (LocalConfiguration.current.screenHeightDp * 0.88f).dp
contentAlignment = Alignment.CenterStart,
) {
Box(Modifier.size(48.dp, 29.dp).clip(GlowShapes.Pill).background(track)) {
Box(Modifier.offset(x = knobX, y = 3.dp).size(23.dp).background(knob, GlowShapes.Pill))
@Cryptobitsbee

Copy link
Copy Markdown
Contributor

Hi! I built this branch (1d4dc865) as a demo app and tried it on my phone. A lot of care clearly went into it: the squircle corners, the glass buttons and the softer Energy fill all feel nice. So please take this as friendly feedback from one user. It's just my opinion.

Overall, it felt too colourful and too bright compared with v2. v2 felt calm and designed. This one, to me, looks more like a generic gradient-heavy app. I think three things cause it, and I've listed where each comes from in the code.

1. Too many colours, and many gradients mix unrelated hues

ui/theme/Blends.kt gives 21 parts of the app their own two-colour blend, and several jump between colour families:

  • Energy: orange → purple
  • Skin temperature: blue → orange
  • Habit Age: magenta → cyan
  • Goals: mint → purple
  • Intervals: pink → teal

A screen that shows several metrics ends up with lots of colours that don't belong together. Cross-hue gradients like these are also the thing that most makes an app look "AI-made".

2. The screen light is strong and covers most of the page

In Materials.kt, screenLight draws two blurred blobs at 60% opacity (LIGHT_OPACITY = 0.6f). The first is about 82% of the screen width plus 120 dp across, and the second sits 360 dp lower. So the glow fills most of the screen, not just the area behind the hero. Scrolling only takes away 60% of it (LIGHT_FADE = 0.6f over 600 dp), so 40% stays for the whole page.

3. The cards add colour on top of the light

Tinted glass fills with the blend at 20 to 30%, and dark glow rises to 75%. So colour stacks up: the screen light, then the card tint, then the chart colours. Nothing on the page stays neutral for the eye to rest on.

What I'd try

  • One accent per screen. Only the hero gets its colour; the other cards are neutral glass.
  • One hue per blend. A lighter and a darker shade of the same colour (light teal → deep teal), never two families.
  • A much softer light. Around 15 to 25% opacity, only behind the hero, and fully gone once it scrolls away.
  • Colour for data, not surfaces. Rings, charts and numbers carry the metric colour; cards and backgrounds stay dark and neutral, as in v2.

That would keep the new shapes and the glass, with the calm feel v2 had. I know it's still in progress (your "Not done" list), so feel free to ignore any of this. If it helps, I'm happy to make a calmer test build with these values changed so you can compare the two side by side.

Thanks again for all the work on unstrap!

@sayed0am
sayed0am marked this pull request as draft November 13, 2026 12:22
@sayed0am

sayed0am commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner Author

Hi @Cryptobitsbee ,

Thanks for always helping with the app, I really appreciate it!

I’ve been using this design for the past 10 hours to test it out, and I’ll keep looking at it.
I agree with some of your points, especially the light strength, mostly on the activity pages.

Some gradients make sense, like energy and temperature, but they aren’t being used for the right purpose. For example, the skin temperature gradient (blue → orange) should show body temperature, but right now it doesn’t. I’ll remove some of the gradient combos and tone the design down, but I’ll keep some elements or repurpose them. I already have a lot more edits to do.
Even the glass needs more tuning to make it look more mature and many elements are not unified in their padding like the list components.

v2 was very dark in many places and in outdoors was kinda difficult to see some elements so thats why i tried to lift up some elements.
for now i reverted this to a draft PR since i had lots of edit + your input to consider 👍

@sayed0am sayed0am closed this Nov 15, 2026
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.

3 participants