little dark mod fix

fix/answer-animation
Lucas DELANIER 1 year ago
parent 5a4a27df9a
commit 98270138fc

@ -20,13 +20,13 @@ struct ChoiceFinalAnswerCell: View {
HStack{
Spacer()
Text(answer.response)
.textStyle(weight: .bold, color: selected ? AllInColors.whiteColor :rawColor, size: 40).padding(.vertical, 10)
.textStyle(weight: .bold, color: selected ? .white :rawColor, size: 40).padding(.vertical, 10)
Spacer()
}
HStack{
Spacer()
OddCapsule(backgroundColor: selected ? AllInColors.whiteColor : AllInColors.purpleAccentColor, foregroundColor: selected ? AllInColors.purpleAccentColor : AllInColors.whiteColor ,odd: answer.odds ).padding(.trailing,20).scaleEffect(0.9)
OddCapsule(backgroundColor: selected ? .white : AllInColors.purpleAccentColor, foregroundColor: selected ? AllInColors.purpleAccentColor : .white ,odd: answer.odds ).padding(.trailing,20).scaleEffect(0.9)
}
}.background(selected ? AllInColors.purpleAccentColor : AllInColors.whiteColor).cornerRadius(17)
}.background(selected ? AllInColors.purpleAccentColor : .white).cornerRadius(17)
}
}

@ -52,7 +52,7 @@ struct BetEndingValidation: View {
.multilineTextAlignment(.center)
Text("Veuillez choisir la réponse finale:")
.font(.system(size: 17))
.foregroundStyle(AllInColors.whiteColor)
.foregroundStyle(.white)
.fontWeight(.bold)
.padding(.top, 30)
.padding(.bottom, 10)
@ -75,7 +75,7 @@ struct BetEndingValidation: View {
} label: {
Text("Valider")
.font(.system(size: 23))
.foregroundColor(AllInColors.whiteColor)
.foregroundColor(.white)
.fontWeight(.bold)
.frame(maxWidth: .infinity)
.padding(.vertical, 3)

Loading…
Cancel
Save