1
0
mirror of git://jb55.com/damus synced 2024-10-06 11:43:21 +00:00

createaccount: ui: change the look of the form label

This commit is contained in:
ericholguin 2023-05-26 19:33:06 -06:00 committed by William Casarin
parent cf15bd3463
commit 62dfc24e58

View File

@ -177,11 +177,10 @@ func FormLabel(_ title: String, optional: Bool = false) -> some View {
return HStack { return HStack {
Text(title) Text(title)
.bold() .bold()
.foregroundColor(.white)
if optional { if optional {
Text("optional", comment: "Label indicating that a form input is optional.") Text("- optional", comment: "Label indicating that a form input is optional.")
.font(.callout) .font(.callout)
.foregroundColor(.white.opacity(0.5)) .foregroundColor(DamusColors.mediumGrey)
} }
} }
} }