Skip to content

fix(tipping): tip card layout, sizing, and color - #1175

Merged
bmc08gt merged 2 commits into
code/cashfrom
fix/tip-card-share-layout
Jul 30, 2026
Merged

fix(tipping): tip card layout, sizing, and color#1175
bmc08gt merged 2 commits into
code/cashfrom
fix/tip-card-share-layout

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jul 30, 2026

Copy link
Copy Markdown
Collaborator

Polish for the My Tip Card screen (and the shared tip-card component), extracted from the chat-profile branch to PR on its own.

Changes

  • Layout — lift the Share Your Tip Card subtitle into the top bar and vertically center the card so it sits evenly between the subtitle and the share button.
  • Color — render the My Tip Card opaque at the design's flattened color #101011 (rgb(16,16,17)). The previous translucent fill (36% black) multiplied the app's purple Brand background and read too dark/purple; the card is a static display with nothing behind it, so it's now solid.
  • Sizing — use Figma's proportions: TipCardAspectRatio = 333/269 and cap the card width at 270dp (the old 1.16 was iOS-parity but out of spec).
  • Name row — show a single Tip {name} label (ellipsized, up to 2 lines).

Testing

./gradlew :apps:flipcash:app:assembleDebug — green.

Lift the 'Share Your Tip Card' subtitle into the top bar and vertically center
the tip card so it sits evenly in the available space (and trim its width).
@github-actions github-actions Bot added the type: fix Bug fix label Jul 30, 2026
- Render the My Tip Card opaque at the design's flattened color (#101011)
  instead of a translucent fill that multiplied the app's Brand background and
  read too dark/purple.
- Use Figma's proportions (TipCardAspectRatio = 333/269) and cap the card width
  at 270dp.
- Show a single 'Tip {name}' label (ellipsized, 2 lines).
@github-actions github-actions Bot added the area: payments Payments, transfers, intents, billing label Jul 30, 2026
@bmc08gt bmc08gt changed the title fix(tipping): move share button up and center the tip card fix(tipping): tip card layout, sizing, and color Jul 30, 2026
@bmc08gt
bmc08gt merged commit e3c81ca into code/cash Jul 30, 2026
3 checks passed
@bmc08gt
bmc08gt deleted the fix/tip-card-share-layout branch July 30, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: payments Payments, transfers, intents, billing type: fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant