VisionOS’s default colour scheme is “Default”
We can change how it seems under preview by adding
.preferredColorScheme(.light)
or we can use the adaptive colour in assets
Text("ADAPTIVE")
.foregroundStyle(Color("AdaptiveColor"))
or we can create an enviroment variable to make it locally adaptive
@Environment(\.colorScheme) var colorScheme
Text("LOCALLY ADAPTIVE")
.foregroundStyle(colorScheme == .light ? .green : .yellow)
when it’s light mode. change the colour to green, or yellow.