Increase link brightness for darkmode to make links more easy to read

This commit is contained in:
Maurice Parker 2020-05-27 10:37:50 -05:00
parent 0b5ecb18cd
commit 2ad01885c1
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ private extension ArticleRenderer {
let blue: Int
if NSApplication.shared.effectiveAppearance.isDarkMode {
let brighten = CGFloat(0.25)
let brighten = CGFloat(0.50)
let baseRed = linkColor.redComponent * 0xFF
red = Int(round(((255 - baseRed) * brighten)) + round(baseRed))
let baseGreen = linkColor.greenComponent * 0xFF