Update(gameParametersView): dark mode now avilable

pull/17/head
Johan LACHENAL 11 months ago
parent 586d7396a5
commit 02b26d1442

@ -38,13 +38,8 @@
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "1.000",
"green" : "1.000",
"red" : "1.000"
}
"platform" : "ios",
"reference" : "darkTextColor"
},
"idiom" : "universal"
}

@ -20,13 +20,8 @@
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "1.000",
"green" : "1.000",
"red" : "1.000"
}
"platform" : "universal",
"reference" : "labelColor"
},
"idiom" : "universal"
},
@ -38,13 +33,8 @@
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "1.000",
"green" : "1.000",
"red" : "1.000"
}
"platform" : "universal",
"reference" : "systemGrayColor"
},
"idiom" : "universal"
}

@ -34,9 +34,11 @@ struct PickerComponent<EnumType: RawRepresentable & Identifiable & Hashable>: Vi
HStack {
Text(title)
.padding()
.foregroundColor(.primary)
Spacer()
Text(selectedOption.rawValue.description)
.padding()
.foregroundColor(.primary)
}
.frame(maxWidth: .infinity)
.padding(EdgeInsets(top: 0, leading: 32, bottom: 0, trailing: 32))

Loading…
Cancel
Save