Skip to content

Halo PR13 — invisible idle dock (alpha-order fix), ring-gradient icons, slimmer dock - #20

Merged
gthgomez merged 1 commit into
mainfrom
feat/halo-pr13-gradient-icons
Oct 8, 2026
Merged

gthgomez merged 1 commit into
mainfrom
feat/halo-pr13-gradient-icons

Conversation

@gthgomez

@gthgomez gthgomez commented Oct 8, 2026

Copy link
Copy Markdown
Owner

Summary

  • Root-cause fix for the ghost capsule: Compose's Modifier.alpha only wraps drawing that comes after it in the chain — the dock's background/border were declared before it, so they never faded. Alpha now precedes background/border (dock row + wells).
  • New ringGradientFill modifier (offscreen compositing + SrcIn mask) fills the +/-, Back, and Home glyphs with the ring's own vertical gradient; Power keeps semantic red.
  • Dock slimmer: 64dp capsule, 46dp wells (width unchanged at 80%).

Verification

  • ./gradlew :app:assembleDebug :app:testDebugUnitTest — pass locally.

…l + dock icons; slimmer dock

- ROOT CAUSE (ghost capsule): .alpha() was declared AFTER .background()/.border() in the modifier chain — Compose alpha only wraps drawing after it, so the capsule stayed visible at alpha 0 while icons faded. Alpha now precedes background/border on the dock Row and wells.
- New ringGradientFill modifier: offscreen layer + SrcIn mask fills any icon with the vertical ring gradient (top blue -> mid -> violet -> pink). Applied to +/-, Back, and Home (drawn opaque white then masked); Power keeps its semantic red.
- Dock geometry: 76->64dp tall, wells 52->46dp.

./gradlew :app:assembleDebug :app:testDebugUnitTest — pass
@gthgomez
gthgomez merged commit f6d7362 into main Oct 8, 2026
@gthgomez
gthgomez deleted the feat/halo-pr13-gradient-icons branch October 8, 2026 19:37
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.

1 participant