Skip to content

Add light mode for unauthenticated Settings screen - #9

Draft
anamhira47 wants to merge 1 commit into
mainfrom
cursor/r-0ac20a4e5baf45a88e98263575a09786-e66b40b34b434fd48d32c60bf52d55f5-make-a-light-mode-atlas-cont-620-9392
Draft

Add light mode for unauthenticated Settings screen#9
anamhira47 wants to merge 1 commit into
mainfrom
cursor/r-0ac20a4e5baf45a88e98263575a09786-e66b40b34b434fd48d32c60bf52d55f5-make-a-light-mode-atlas-cont-620-9392

Conversation

@anamhira47

Copy link
Copy Markdown

Summary

Implements a dedicated light mode for the Settings (unauthenticated) screen in SweepAlert Swift.

  • Adds SettingsLightTheme with explicit light palette tokens (grouped background, white cards, ink/muted text, separators).
  • Updates SettingsScreen to use the light theme when the user is signed out.
  • Applies .preferredColorScheme(.light) only for the signed-out Settings experience.
  • Removes app-wide light mode forcing from SweepAlertSwiftApp and Info.plist so light appearance is scoped to Settings when signed out.

Target screen

Settings → signed out (Account + Crew sections with Log in button).

Before

Settings unauthenticated before

Baseline build showing the in-app Settings screen while signed out.

After

Settings unauthenticated after light mode

Rebuild with scoped light theme: light gray grouped background, white rounded cards, dark text, blue Log in CTA, and locked Crew section.

Device verification

  • Remote Revyl build succeeded and installed on cloud iOS device.
  • Screenshot verification confirms Settings (unauthenticated) renders in light mode with Account and Crew sections visible.
  • Opened via in-app Settings overlay (settings-screen, login-button accessibility identifiers).

Automated revyl device instruction verification was blocked by an in-flight worker step (HTTP 409), but screenshot evidence confirms the expected UI.

Files changed

  • apps/ios-sweep-alert/SweepAlertSwift/SettingsLightTheme.swift (new)
  • apps/ios-sweep-alert/SweepAlertSwift/ContentView.swift
  • apps/ios-sweep-alert/SweepAlertSwift/SweepAlertSwiftApp.swift
  • apps/ios-sweep-alert/SweepAlertSwift/Info.plist
  • apps/ios-sweep-alert/SweepAlertSwift.xcodeproj/project.pbxproj
Open in Web Open in Cursor 

Introduce SettingsLightTheme with explicit light palette tokens and apply
them when the user is signed out. Remove app-wide light mode forcing so
Settings can opt into light appearance independently via preferredColorScheme.

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