Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Update ThemeSelection radio button layout #455

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Dec 14, 2024

TL;DR

Updated the theme selection screen's radio button layout to display selected background in a even odd pattern.

What changed?

  • Renamed TransportModeRadioButton to ThemeSelectionRadioButton
  • Modified the layout to support alternating left/right positioning
  • Added corner radius logic to create connected button appearance
  • Adjusted padding and spacing to accommodate the new grid layout
  • Switched from items to itemsIndexed to track even/odd positioning

Screenshots

Screen.Recording.2024-12-14.at.2.08.39.pm.mov

Why make this change?

Improves the visual presentation

Copy link
Owner Author

ksharma-xyz commented Dec 14, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

@ksharma-xyz ksharma-xyz changed the title Update background color selection shape of theme selection radio buttons UI: Update ThemeSelection radio button layout Dec 14, 2024
@ksharma-xyz ksharma-xyz marked this pull request as ready for review December 14, 2024 03:12
@ksharma-xyz ksharma-xyz changed the base branch from 12-14-bump_ios_version to graphite-base/455 December 14, 2024 03:22
@ksharma-xyz ksharma-xyz force-pushed the 12-14-update_background_color_selection_shape_of_theme_selection_radio_buttons branch from 3b59ba8 to 284ef8b Compare December 14, 2024 03:22
@ksharma-xyz ksharma-xyz changed the base branch from graphite-base/455 to main December 14, 2024 03:23
@ksharma-xyz ksharma-xyz force-pushed the 12-14-update_background_color_selection_shape_of_theme_selection_radio_buttons branch from 284ef8b to d1278f5 Compare December 14, 2024 03:23
@ksharma-xyz ksharma-xyz merged commit 056884e into main Dec 14, 2024
2 checks passed
Copy link
Owner Author

Merge activity

  • Dec 13, 10:34 PM EST: A user merged this pull request with Graphite.

@ksharma-xyz ksharma-xyz deleted the 12-14-update_background_color_selection_shape_of_theme_selection_radio_buttons branch December 14, 2024 03:34
ksharma-xyz added a commit that referenced this pull request Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant