fix: add comprehensive dark mode support across mobile app#57
Merged
Conversation
- Add dark theme colors to DateTimePicker Android plugin config (app.json) - Replace dynamic NativeWind classes with inline styles in 5 screen components - Add dark: variants to BookingDetailScreen cancel dialog (web + Android) - Add dark: variants to AvailabilityListScreen create dialog (Android AlertDialog) - Add dark mode support to GlobalToast component (web)
Contributor
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
Prevents white-on-white text when delete dialog button inverts to white background in dark mode.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
romitg2
approved these changes
Mar 21, 2026
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
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.
Screen.Recording.2026-03-21.at.12.33.16.AM.mov
Summary
Adds dark mode support to several mobile app components that were missing it:
app.json): Added"dark"color keys alongside existing"light"keys for the Android native date/time picker. Requiresnpx expo prebuildto take effect.bg-[${variable}]template literals — which NativeWind can't statically resolve — with inlinestyle={{ backgroundColor }}props. Follows the existing pattern inEditAvailabilityOverrideScreen.ios.tsx.dark:Tailwind variants to the web modal and Android AlertDialog TextInput, plus theme-awareplaceholderTextColor.dark:variants to Android AlertDialog TextInput and theme-aware placeholder colors. Inverted primary button colors for dark mode (white bg + black text).useColorScheme()hook and dark-mode style overrides for container, title, message, and icon colors.Review & Testing Checklist for Human
AvailabilityListScreen(Continue + Delete buttons) andBookingDetailScreen(Cancel Event button). This is a design decision that affects multiple dialogs.AddGuestsScreenwhich uses a localcolorsobject rather than directthemevalues.npx expo prebuildand test the Android DateTimePicker in dark mode to verify the plugin config produces correct Material theme colors.Recommended test plan: Toggle device/simulator between light and dark mode and navigate through: Availability list → create schedule dialog → delete schedule dialog, Booking detail → cancel dialog, View recordings, Meeting session details, Add guests, and trigger a toast notification.
Notes
#171717,#262626,#4D4D4D,#A3A3A3, etc.) are consistent with values already used in existing dark-mode-aware components in the codebase.app.jsonDateTimePicker dark values are simple light↔dark inversions. A pass against Material Design theming guidelines may be warranted for polish.darkMode: "media"intailwind.config.js(system preference detection) — confirmed this is already configured.bun run lint:all) and typecheck (bun run typecheck) both pass cleanly.Link to Devin session: https://app.devin.ai/sessions/9f742190b8de45f7996180db82da61f6
Requested by: @dhairyashiil