Remove unused stylesheet substitutions.

This commit is contained in:
Maurice Parker 2020-12-08 19:43:53 -06:00
parent 6ef29e3927
commit 098141eb7f
1 changed files with 0 additions and 7 deletions

View File

@ -280,13 +280,6 @@ private extension ArticleRenderer {
var d = [String: String]() var d = [String: String]()
let bodyFont = UIFont.preferredFont(forTextStyle: .body) let bodyFont = UIFont.preferredFont(forTextStyle: .body)
d["font-size"] = String(describing: bodyFont.pointSize) d["font-size"] = String(describing: bodyFont.pointSize)
if let components = UIColor(named: "AccentColor")?.cgColor.components {
d["accent-r"] = String(Int(round(components[0] * 0xFF)))
d["accent-g"] = String(Int(round(components[1] * 0xFF)))
d["accent-b"] = String(Int(round(components[2] * 0xFF)))
}
return d return d
} }
#else #else