Issue #692
Use colorScheme environment, for now it has 2 cases dark
and light
struct MainView: View {
@Environment(\.colorScheme) var colorScheme
var body: some View {
Text(colorScheme == .dark ? "Dark Mode" : "Light Mode")
}
}