Version 1.0.0 (15)

This commit is contained in:
relikd
2020-04-18 18:56:37 +02:00
parent 245bb46e4f
commit 412d533275
2 changed files with 8 additions and 5 deletions

View File

@@ -52,7 +52,10 @@ extension NSMutableAttributedString {
func h3(_ str: String) -> Self { normal(str, .title3) }
private func append(_ str: String, withFont: UIFont) -> Self {
append(NSAttributedString(string: str, attributes: [.font : withFont]))
append(NSAttributedString(string: str, attributes: [
.font : withFont,
.foregroundColor : UIColor.sysFg
]))
return self
}
}