Skip to content

Add dark mode for Settings (unauthenticated) - #14

Draft
anamhira47 wants to merge 6 commits into
mainfrom
cursor/r-0ac20a4e5baf45a88e98263575a09786-e66b40b34b434fd48d32c60bf52d55f5-create-a-dark-mode-atlas-con-619-2af4
Draft

Add dark mode for Settings (unauthenticated)#14
anamhira47 wants to merge 6 commits into
mainfrom
cursor/r-0ac20a4e5baf45a88e98263575a09786-e66b40b34b434fd48d32c60bf52d55f5-create-a-dark-mode-atlas-con-619-2af4

Conversation

@anamhira47

Copy link
Copy Markdown

Summary

Adds dark mode support for the Settings (unauthenticated) screen in SweepAlert Swift.

Changes

  • Removed forced light mode from the app entry point (preferredColorScheme(.light)) and Info.plist (UIUserInterfaceStyleAutomatic).
  • Added SweepColors with adaptive ink / muted text tokens (Color.primary / Color.secondary).
  • Updated SettingsScreen to use adaptive colors for headings, labels, and section text.
  • Applied .preferredColorScheme(.dark) on SettingsScreen so the signed-out settings experience renders with a dark grouped background and readable light text.

Device verification

  • Validation: Verify the signed-out Settings screen uses dark mode: dark grouped background, light readable text in Account and Crew sections, and a blue Log in button.passed
  • Opened Settings while signed out; Account ("Sign in to sync alerts" + Log in) and Crew ("Sign in to manage cars") sections are readable in dark mode.

Screenshots

Before (light mode):
Settings unauthenticated before - light mode

After (dark mode):
Settings unauthenticated after - dark mode

Test plan

  • Revyl remote build succeeds
  • Settings unauthenticated screen opens while signed out
  • Dark background with readable Account and Crew sections
  • Log in button visible and tappable
Open in Web Open in Cursor 

cursoragent and others added 6 commits June 28, 2026 04:30
- Remove forced light mode from app entry and Info.plist
- Add SweepColors with adaptive ink/muted text tokens
- Update SettingsScreen to use semantic colors for dark mode

Co-authored-by: Anam Hira <anam@revyl.ai>
Co-authored-by: Anam Hira <anam@revyl.ai>
Settings (including signed-out state) now renders with a dark color scheme
using adaptive text colors and system backgrounds.

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