Remove unused stylesheet substitutions.
This commit is contained in:
parent
6ef29e3927
commit
098141eb7f
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue