-
Notifications
You must be signed in to change notification settings - Fork 1
[21479] Dark Mode Support #235
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
Open
sg-jsonjuliane
wants to merge
9
commits into
develop
Choose a base branch
from
feature/21479-dark-mode-support
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…o DayNight - TripKitAndroidUI: Updated 3 dialog/component themes to DayNight - FullScreenDialog: Theme.AppCompat.Light.Dialog → DayNight.Dialog - Widget.CalendarView.Custom: Theme.MaterialComponents.Light → DayNight - FlatDialog: Fixed @android:color/white → @color/white - tripkituisample: Theme.MaterialComponents.Light.NoActionBar → DayNight.NoActionBar - Updated tripkit-android submodule reference (clean commit with .gitignore fix) Part of Phase 1: Core Theme Migration for dark mode support
- Updated tripkit-android submodule reference
- Add night-res map style JSON for dark mode map styling - Remove custom backgrounds from all info window layouts to use Google's default styling - Update info window text colors to use @android:color/black (no night variant) for visibility - Remove custom icon tinting from info windows to use default colors - Updated layouts: - map_pin_info_window.xml - free_floating_vehicle_info_window.xml - bike_share_info_window.xml - view_simple_callout.xml - city_callout.xml
…k mode fixes - Add ThemeAwareApplyTintStrategy for theme-aware icon tinting when service colors disabled - Update GetTransportIconTintStrategy to use ThemeAwareApplyTintStrategy when service colors disabled - Remove tint from trip_result_segment_item.xml to allow branding icons (Beam) to display correctly - Remove tint from trip_result_list_transport_item.xml, handle theme via background colors - Update trip_result_transport_mode_selector_background.xml with theme-aware colors - Add transport_mode_selector_checked and transport_mode_selector_unchecked color resources - Fix TimeDatePickerFragment dark mode: shadows, divider lines, and date column text - Add top_shadow and bottom_shadow drawables with night variants - Update SuggestionViewModel with programmatic icon tinting for search results - Update various layouts with app:tint for dark mode icon visibility
This comment was marked as outdated.
This comment was marked as outdated.
|
✅ Unit tests passed successfully! Test results are available under the "Artifacts" section of this run in GitHub Actions. Please ensure the code is reviewed before proceeding with the merge. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Context
Changes
Describe your changes in detail, highlighting the problem it solves or the feature it adds.
DayNightfor automatic dark mode supportvalues-night/colors.xmlwith dark mode color variants for all UI components (includingicon_tint_defaultandtransport_mode_selectorcolors)@android:color/white→@color/white(40+ instances)@android:color/black→@color/blackon neutral backgrounds (20+ instances)app:tintfor 51+ icons (transport icons, checkmarks, UI elements)ThemeAwareApplyTintStrategyfor theme-aware transport icon tinting:WheelViewcomponents (TimeDatePickerFragment):app:tintattributes that interfered with branding iconstripkit-androidsubmodule reference to include booking UI dark mode supportChecklist for Reviewers
Documentation and Code Quality
Testing and Reliability
Error Handling and Logging
Testing Procedure
If applicable, provide steps or commands for testing your changes. This can help reviewers and testers.
Work-in-Progress (WIP)
List any remaining work or areas that need additional focus. This section can be updated as the work progresses.
Remember to keep this template updated based on the feedback and evolving project standards.