From 0359f1d37a5ffd2460416b95e00db8fa5b20266d Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 29 Jun 2021 18:19:38 -0700 Subject: [PATCH] Reduce dark theme contrast to avoid eye strain Switch to BG: #121212 and 87% opaque text as recommended by Material Design. --- style.css | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/style.css b/style.css index bae34d8..e257c84 100644 --- a/style.css +++ b/style.css @@ -1,7 +1,10 @@ @media (prefers-color-scheme: dark) { body { - background-color: black; - filter: invert(1) hue-rotate(180deg) + background-color: #121212; + color: rgba(255, 255, 255, 0.87); + } + a { + filter: invert(0.85) hue-rotate(180deg); } }