From 0dee168ac999124290502d5a5aff3640d11736a0 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 28 Aug 2018 21:38:29 -0700 Subject: [PATCH] =?UTF-8?q?Use=20light=20detail=20view=20for=20now=20inste?= =?UTF-8?q?ad=20of=20dark.=20(Note:=20this=20still=20needs=20to=20switch?= =?UTF-8?q?=20based=20on=20whether=20or=20not=20you=E2=80=99re=20in=20dark?= =?UTF-8?q?=20mode.)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Evergreen/MainWindow/Detail/ArticleRenderer.swift | 2 +- Evergreen/MainWindow/Detail/styleSheet.css | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/Evergreen/MainWindow/Detail/ArticleRenderer.swift b/Evergreen/MainWindow/Detail/ArticleRenderer.swift index 7975bde63..5a32d887c 100644 --- a/Evergreen/MainWindow/Detail/ArticleRenderer.swift +++ b/Evergreen/MainWindow/Detail/ArticleRenderer.swift @@ -454,7 +454,7 @@ class ArticleRenderer { """ - s += "\n\n\n\n" + s += "\n\n\n\n" s += RSMacroProcessor.renderedText(withTemplate: template(), substitutions: substitutions(), macroStart: "[[", macroEnd: "]]") diff --git a/Evergreen/MainWindow/Detail/styleSheet.css b/Evergreen/MainWindow/Detail/styleSheet.css index 9b45cdc76..09d1141fb 100644 --- a/Evergreen/MainWindow/Detail/styleSheet.css +++ b/Evergreen/MainWindow/Detail/styleSheet.css @@ -24,12 +24,12 @@ a:hover { /* Light mode */ body.light { - color: -webkit-text; + color: #444; background-color: -apple-system-text-background; } body.light a, body.light a:link, body.light a:visited { - color: -apple-system-blue; + color: hsla(215, 99%, 43%, 1); } body.light .headerTable { border-bottom: 1px solid rgba(0, 0, 0, 0.1); @@ -94,9 +94,6 @@ body.dark .articleDateline, body.dark .articleDateLine.a:link, body.dark .articl margin-bottom: 25px; font-weight: bold; } -.articleDateline, .articleDateline a:link, .articleDateline a:visited { - color: rgba(0, 0, 0, 0.3); -} .articleBody { line-height: 1.6em;