hugo-soresu

My fork of hugo-xmin

git clone git://git.shimmy1996.com/hugo-soresu.git
commit 68d8f575f6bb5eaae8f85e60ba3343f86ce331d1
parent 581aa77b53ef5268419ff585566bf8536ea4f738
Author: Shimmy Xu <shimmy.xu@shimmy1996.com>
Date:   Thu, 12 Sep 2019 11:29:45 -0400

Lower contrast of theme

Diffstat:
Mlayouts/partials/css/style.css | 14++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/layouts/partials/css/style.css b/layouts/partials/css/style.css
@@ -1,11 +1,12 @@
 :root {
     --accent-color: #700000;
-    --background-color: #fff;
-    --code-background-color: #f9f9f9;
-    --stress-1-color: #eee;
-    --stress-2-color: #ddd;
-    --stress-3-color: #ccc;
-    --text-color: #000;
+    --background-color: #eee;
+    --text-color: #222;
+    --code-background-color: #ddd;
+    --code-text-color: #111;
+    --stress-1-color: #ddd;
+    --stress-2-color: #ccc;
+    --stress-3-color: #bbb;
 }
 
 body {
@@ -62,6 +63,7 @@ pre {
     overflow-x: auto;
 }
 code {
+    color: var(--code-text-color);
     background: var(--code-background-color);
 }
 pre code {