Force light theme
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user