[ios] Making headers bold

* fixes: #3280

Signed-off-by: Angelina Perez <perezangelina.0907@gmail.com>
This commit is contained in:
Angelina Perez 2023-03-10 14:24:21 -08:00 committed by Alexander Borsuk
parent 3bdd351b7b
commit e88c75a457
3 changed files with 3 additions and 1 deletions

View file

@ -43,6 +43,7 @@
var bold34: UIFont { get }
var bold36: UIFont { get }
var bold48: UIFont { get }
var header: UIFont { get }
var heavy17: UIFont { get }
var heavy20: UIFont { get }
var heavy32: UIFont { get }

View file

@ -42,6 +42,7 @@ class Fonts: IFonts {
var bold34 = UIFont.systemFont(ofSize: 34, weight:UIFont.Weight.bold)
var bold36 = UIFont.systemFont(ofSize: 36, weight:UIFont.Weight.bold)
var bold48 = UIFont.systemFont(ofSize: 48, weight:UIFont.Weight.bold)
var header = UIFont.preferredFont(forTextStyle: .headline)
var heavy17 = UIFont.systemFont(ofSize: 17, weight:UIFont.Weight.heavy)
var heavy20 = UIFont.systemFont(ofSize: 20, weight:UIFont.Weight.heavy)
var heavy32 = UIFont.systemFont(ofSize: 32, weight:UIFont.Weight.heavy)

View file

@ -39,7 +39,7 @@ class GlobalStyleSheet: IStyleSheet {
s.tintColor = colors.whitePrimaryText
s.backgroundImage = UIImage()
s.shadowImage = UIImage()
s.font = fonts.regular18
s.font = fonts.header
s.fontColor = colors.whitePrimaryText
}