Skip to content

Add dark mode support with adaptive colors and theme toggle#1

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/add-dark-mode-support
Draft

Add dark mode support with adaptive colors and theme toggle#1
Copilot wants to merge 2 commits intomasterfrom
copilot/add-dark-mode-support

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 12, 2026

  • Explore codebase and understand current styling approach
  • Create ThemeManager.swift - ObservableObject for dark mode control with UserDefaults persistence
  • Add dark appearance variant to ThriveBlue.colorset/Contents.json
  • Create GradientEnd.colorset for adaptive gradient end color
  • Update SceneDelegate.swift to inject ThemeManager as environmentObject
  • Update ContentView.swift to apply .preferredColorScheme() from ThemeManager and use adaptive background
  • Update ChildProfileView.swift to add dark mode toggle button
  • Update all view files to replace hard-coded colors with adaptive alternatives (SignInView, SignUpView, ScheduleCal, ScheduleDayView, ToolboxView, ParentCommunicationPortal)
  • Update RKColorSettings.swift for adaptive calendar colors
  • Update CalendarView+Style.swift UIKit colors for dark mode
  • Run code review and security checks
  • Create PR

🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 2 commits March 12, 2026 14:21
…oggle

- Create ThemeManager.swift for dark mode control with UserDefaults persistence
- Add dark appearance variant to ThriveBlue color asset
- Create GradientEnd color asset with light/dark variants
- Replace all hardcoded gradient RGB colors with adaptive Color("GradientEnd")
- Replace Color.black border with Color(.separator) for dark mode
- Update RKColorSettings calendar colors to use adaptive system colors
- Update CalendarView+Style UIKit colors to use system adaptive colors
- Inject ThemeManager as EnvironmentObject from SceneDelegate
- Apply .preferredColorScheme() on root ContentView
- Add theme cycle button (Auto/Light/Dark) to ChildProfileView

Co-authored-by: kag728 <42548585+kag728@users.noreply.github.com>
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