From 6d685173283f534d9b4d15263fa13ec299f47044 Mon Sep 17 00:00:00 2001 From: Letro Bot Date: Wed, 11 Mar 2026 20:07:46 +0300 Subject: [PATCH] Force light theme --- ElementX/Sources/Application/Application.swift | 1 + .../StartScreen/View/AuthenticationStartScreen.swift | 10 ++++++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/ElementX/Sources/Application/Application.swift b/ElementX/Sources/Application/Application.swift index 280fa3f70..308891af4 100644 --- a/ElementX/Sources/Application/Application.swift +++ b/ElementX/Sources/Application/Application.swift @@ -32,6 +32,7 @@ struct Application: App { var body: some Scene { WindowGroup { appCoordinator.toPresentable() + .preferredColorScheme(.light) // Letro: always use the light theme .statusBarHidden(shouldHideStatusBar) .overlay(alignment: .top) { if #available(iOS 26, *), ProcessInfo.processInfo.isiOSAppOnMac { diff --git a/ElementX/Sources/Screens/Authentication/StartScreen/View/AuthenticationStartScreen.swift b/ElementX/Sources/Screens/Authentication/StartScreen/View/AuthenticationStartScreen.swift index 1955df57b..7bd991924 100644 --- a/ElementX/Sources/Screens/Authentication/StartScreen/View/AuthenticationStartScreen.swift +++ b/ElementX/Sources/Screens/Authentication/StartScreen/View/AuthenticationStartScreen.swift @@ -202,6 +202,7 @@ struct AuthenticationStartScreen: View { Spacer() letroAbout + .foregroundStyle(.white) Spacer() Button { @@ -210,9 +211,12 @@ struct AuthenticationStartScreen: View { } } label: { Text("Get Started") + .frame(maxWidth: .infinity) + .frame(height: 48) + .background(.white) + .cornerRadius(28) } - .buttonStyle(.compound(.primary)) - .preferredColorScheme(.dark) + .buttonStyle(PlainButtonStyle()) } } .padding() @@ -223,12 +227,10 @@ struct AuthenticationStartScreen: View { VStack(spacing: 16) { Text("Letro, Official & Secure") .font(.compound.headingLGBold) - .foregroundColor(.compound.textPrimary) .multilineTextAlignment(.center) Text("We Make Formal Communication a Reliable, Attractive Thing.") .font(.compound.bodyLG) - .foregroundColor(.compound.textPrimary) .multilineTextAlignment(.center) } }