Skip to content

Commit 1168a96

Browse files
update custom fonts in the preview
1 parent 18ef392 commit 1168a96

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Examples/DemosApp/DemosApp/ComponentsPreview/Helpers/PreviewPickers.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ struct BodyFontPicker: View {
108108
Text("Small").tag(UniversalFont.smBody)
109109
Text("Medium").tag(UniversalFont.mdBody)
110110
Text("Large").tag(UniversalFont.lgBody)
111-
Text("Custom: system bold of size 18").tag(UniversalFont.system(size: 18, weight: .bold))
111+
Text("Custom: system semibold of size 16").tag(UniversalFont.system(size: 16, weight: .semibold))
112112
}
113113
}
114114
}
@@ -128,7 +128,7 @@ struct ButtonFontPicker: View {
128128
Text("Small").tag(UniversalFont.smButton)
129129
Text("Medium").tag(UniversalFont.mdButton)
130130
Text("Large").tag(UniversalFont.lgButton)
131-
Text("Custom: system bold of size 18").tag(UniversalFont.system(size: 18, weight: .bold))
131+
Text("Custom: system bold of size 16").tag(UniversalFont.system(size: 16, weight: .bold))
132132
}
133133
}
134134
}
@@ -148,7 +148,7 @@ struct HeadlineFontPicker: View {
148148
Text("Small").tag(UniversalFont.smHeadline)
149149
Text("Medium").tag(UniversalFont.mdHeadline)
150150
Text("Large").tag(UniversalFont.lgHeadline)
151-
Text("Custom: system bold of size 18").tag(UniversalFont.system(size: 18, weight: .bold))
151+
Text("Custom: system bold of size 20").tag(UniversalFont.system(size: 20, weight: .bold))
152152
}
153153
}
154154
}
@@ -168,7 +168,7 @@ struct CaptionFontPicker: View {
168168
Text("Small").tag(UniversalFont.smCaption)
169169
Text("Medium").tag(UniversalFont.mdCaption)
170170
Text("Large").tag(UniversalFont.lgCaption)
171-
Text("Custom: system bold of size 12").tag(UniversalFont.system(size: 12, weight: .bold))
171+
Text("Custom: system semibold of size 12").tag(UniversalFont.system(size: 12, weight: .semibold))
172172
}
173173
}
174174
}

0 commit comments

Comments
 (0)