From f0b30379c73e041e05e46913accc911ae69c4714 Mon Sep 17 00:00:00 2001 From: Joshua Parmenter Date: Sat, 27 Jun 2026 20:22:30 -0700 Subject: [PATCH] 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 --- Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift b/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift index 48c58e0..0804eb3 100644 --- a/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift +++ b/Sources/LyrebirdShoeGazeUI/ShoeGazeBuilderView.swift @@ -180,6 +180,9 @@ public struct ShoeGazeBuilderView: View { 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) .onAppear { restoreInputSelection()