Refactor text styles to use StyledText (#1490)

This commit is contained in:
Ryan Nystrom
2018-02-04 19:09:42 -05:00
committed by GitHub
parent a92c3657dd
commit 0001920b75
79 changed files with 186 additions and 205 deletions

View File

@@ -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(