mirror of
https://github.com/zhigang1992/GitHawk.git
synced 2026-04-30 21:11:45 +08:00
Refactor text styles to use StyledText (#1490)
This commit is contained in:
@@ -13,7 +13,7 @@ func titleStringSizing(title: String, width: CGFloat) -> NSAttributedStringSizin
|
||||
let attributedString = NSAttributedString(
|
||||
string: title,
|
||||
attributes: [
|
||||
.font: Styles.Fonts.headline,
|
||||
.font: Styles.Text.headline.preferredFont,
|
||||
.foregroundColor: Styles.Colors.Gray.dark.color
|
||||
])
|
||||
return NSAttributedStringSizing(
|
||||
|
||||
Reference in New Issue
Block a user