Skip to content

Add dark mode support for SweepAlert iOS app - #13

Draft
anamhira47 wants to merge 3 commits into
mainfrom
cursor/r-0ac20a4e5baf45a88e98263575a09786-e66b40b34b434fd48d32c60bf52d55f5-create-a-dark-mode-of-the-ap-623-3181
Draft

Add dark mode support for SweepAlert iOS app#13
anamhira47 wants to merge 3 commits into
mainfrom
cursor/r-0ac20a4e5baf45a88e98263575a09786-e66b40b34b434fd48d32c60bf52d55f5-create-a-dark-mode-of-the-ap-623-3181

Conversation

@anamhira47

Copy link
Copy Markdown

Summary

Adds full dark mode support to the SweepAlert SwiftUI app on the unauthenticated map home screen and throughout the UI.

  • Removed the forced .preferredColorScheme(.light) lock so the app follows the device appearance
  • Introduced SweepTheme with adaptive asset catalog colors (SweepInk, SweepMuted, SweepBlue, SweepBorder)
  • Replaced hardcoded text/border colors and white card strokes with theme tokens
  • Added an in-app Appearance picker in Settings (System / Light / Dark)
  • Updated the widget text colors to use dynamic UIColor providers

Screenshots

Before (light mode — map home, unauthenticated)

Light mode map home

After (dark mode — settings + themed UI)

Dark mode settings

Device verification

  • Remote Revyl build succeeded (cursor-r-0ac20a4e5baf45a88e98263575a09786-e66b40-20260628-055208)
  • Device instruction to enable system Dark Mode: success
  • Dark mode renders with dark map, dark card surfaces, and light readable text on the settings screen
  • Signed-out panel sign-in button aligned to brand blue (sweepBlue)

Test plan

  • Revyl remote iOS build passes
  • Light mode map home renders correctly (screenshot)
  • Dark mode renders with adaptive colors (screenshot + device instruction)
  • Appearance picker added in Settings for System/Light/Dark override
Open in Web Open in Cursor 

cursoragent and others added 3 commits June 28, 2026 05:08
Remove the forced light color scheme and introduce SweepTheme with
adaptive asset catalog colors for ink, muted text, borders, and brand blue.
Update card borders and the signed-out sign-in button to use theme tokens.

Co-authored-by: Anam Hira <anam@revyl.ai>
…er time

Co-authored-by: Anam Hira <anam@revyl.ai>
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.

2 participants