adjust font size

This commit is contained in:
ryanzhao 2023-08-23 15:19:01 +10:00
parent f5e086dee1
commit e2856dfb97
1 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ public struct SessionTextField: View {
ZStack(alignment: .topLeading) {
if text.isEmpty {
Text(placeholder)
.font(.system(size: Values.mediumFontSize))
.font(.system(size: Values.smallFontSize))
.foregroundColor(themeColor: .textSecondary)
}
@ -38,7 +38,7 @@ public struct SessionTextField: View {
}
}
)
.font(.system(size: Values.mediumFontSize))
.font(.system(size: Values.smallFontSize))
.foregroundColor(themeColor: (error?.isEmpty == false) ? .danger : .textPrimary)
}
.padding(.horizontal, Values.largeSpacing)
@ -59,7 +59,7 @@ public struct SessionTextField: View {
ZStack {
Text(error ?? "")
.bold()
.font(.system(size: Values.mediumFontSize))
.font(.system(size: Values.smallFontSize))
.foregroundColor(themeColor: .danger)
.multilineTextAlignment(.center)
}