From 402e047179da44599db2e028eaaf9672583b7b9d Mon Sep 17 00:00:00 2001 From: Richie Bendall Date: Fri, 30 Apr 2021 05:18:53 +1200 Subject: [PATCH] Add dark mode support for clarity theme --- themes/clarity.css | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/themes/clarity.css b/themes/clarity.css index 4fce9fe7..e779167c 100644 --- a/themes/clarity.css +++ b/themes/clarity.css @@ -40,3 +40,17 @@ a { #gravatar { border-radius: 50%; } + +@media only screen and (prefers-color-scheme: dark) { + body { + background-color: #121212; + } + + h1 { + color: #bbc0c3; + } + + p { + color: rgba(255, 255, 255, 0.87); + } +}