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: Change screen backgrounds from background to surface color #276

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

ksharma-xyz
Copy link
Owner

@ksharma-xyz ksharma-xyz commented Oct 31, 2024

TL;DR

Updated screen backgrounds to use surface color instead of background color in the Trip Planner UI

What changed?

Changed the background color property from KrailTheme.colors.background to KrailTheme.colors.surface in:

  • SavedTripsScreen
  • SearchStopScreen
  • TimeTableScreen

Why make this change?

Using the surface color provides better visual hierarchy and follows Material Design guidelines more closely, where surface colors are typically used for components that rest on top of the background

@ksharma-xyz ksharma-xyz changed the title Change background colors UI: Change screen backgrounds from background to surface color Oct 31, 2024
@ksharma-xyz ksharma-xyz marked this pull request as ready for review October 31, 2024 04:21
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from 36b1bab to 1fe3fd1 Compare October 31, 2024 04:32
@ksharma-xyz ksharma-xyz force-pushed the 10-31-change_background_colors branch from b6e0352 to da8af74 Compare October 31, 2024 04:32
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch from 1fe3fd1 to db4ce93 Compare October 31, 2024 04:42
@ksharma-xyz ksharma-xyz force-pushed the 10-31-change_background_colors branch from da8af74 to bfb9f1a Compare October 31, 2024 04:42
@ksharma-xyz ksharma-xyz force-pushed the 10-31-add_star_button_to_save_trip_on_timetablescreen branch 2 times, most recently from 8cbc12e to c4de318 Compare October 31, 2024 04:52
@ksharma-xyz ksharma-xyz force-pushed the 10-31-change_background_colors branch from bfb9f1a to 6e3ce14 Compare October 31, 2024 04:52
@ksharma-xyz ksharma-xyz changed the base branch from 10-31-add_star_button_to_save_trip_on_timetablescreen to graphite-base/276 October 31, 2024 05:02
@ksharma-xyz ksharma-xyz force-pushed the 10-31-change_background_colors branch from 6e3ce14 to 603d3f8 Compare October 31, 2024 05:02
@ksharma-xyz ksharma-xyz changed the base branch from graphite-base/276 to main October 31, 2024 05:03
@ksharma-xyz ksharma-xyz force-pushed the 10-31-change_background_colors branch from 603d3f8 to d3a48ee Compare October 31, 2024 05:03
@ksharma-xyz ksharma-xyz merged commit 82ea0b1 into main Oct 31, 2024
3 checks passed
Copy link
Owner Author

Merge activity

  • Oct 31, 1:14 AM EDT: A user merged this pull request with Graphite.

@ksharma-xyz ksharma-xyz deleted the 10-31-change_background_colors branch October 31, 2024 05:14
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