Force dark color scheme in the builder
On iOS in light mode, system controls (nav title, engine steppers, the Record button) rendered black text over the builder's always-dark background. The builder is dark-themed regardless of system appearance, so pin its color scheme to .dark. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -180,6 +180,9 @@ public struct ShoeGazeBuilderView: View {
|
|||||||
blue: ShoeGazeBuilderView.backgroundBlue
|
blue: ShoeGazeBuilderView.backgroundBlue
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
// The builder is always dark-themed; force the dark scheme so system controls (nav title,
|
||||||
|
// steppers, the Record button) use light text instead of black-on-dark in light mode.
|
||||||
|
.preferredColorScheme(.dark)
|
||||||
.background(boardSwitchShortcuts)
|
.background(boardSwitchShortcuts)
|
||||||
.onAppear {
|
.onAppear {
|
||||||
restoreInputSelection()
|
restoreInputSelection()
|
||||||
|
|||||||
Reference in New Issue
Block a user