File tree Expand file tree Collapse file tree 4 files changed +6
-2
lines changed
Examples/DemosApp/DemosApp
ComponentsPreview/PreviewPages Expand file tree Collapse file tree 4 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ struct InputFieldPreview: View {
1717 self . inputField
1818 . preview
1919 . onAppear {
20+ self . inputField. text = " "
2021 self . inputField. model = Self . initialModel
2122 }
2223 . onChange ( of: self . model) { newValue in
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ struct TextInputPreviewPreview: View {
1717 self . textInput
1818 . preview
1919 . onAppear {
20+ self . textInput. text = " "
2021 self . textInput. model = Self . initialModel
2122 }
2223 . onChange ( of: self . model) { newValue in
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ struct SwiftUILogin: View {
6262 ? " Welcome back "
6363 : " Create an account "
6464 )
65- . font ( . system ( size : 30 , weight : . bold ) )
65+ . font ( UniversalFont . lgHeadline . font )
6666 . padding ( . vertical, 30 )
6767
6868 if self . selectedPage == . signUp {
@@ -129,6 +129,7 @@ struct SwiftUILogin: View {
129129 model: . init {
130130 $0. title = " Continue "
131131 $0. isFullWidth = true
132+ $0. color = . primary
132133 $0. isEnabled = self . isButtonEnabled
133134 } ,
134135 action: {
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ final class UIKitLogin: UIViewController {
3636 )
3737 private let titleLabel : UILabel = {
3838 let label = UILabel ( )
39- label. font = . systemFont ( ofSize : 30 , weight : . bold )
39+ label. font = UniversalFont . lgHeadline . uiFont
4040 return label
4141 } ( )
4242 private let nameInput = UKInputField (
@@ -74,6 +74,7 @@ final class UIKitLogin: UIViewController {
7474 model: . init {
7575 $0. title = " Continue "
7676 $0. isFullWidth = true
77+ $0. color = . primary
7778 }
7879 )
7980 private let loader = UKLoading ( )
You can’t perform that action at this time.
0 commit comments