From 7ac3089d08dba1ef24182e1bf4c73ad926f24956 Mon Sep 17 00:00:00 2001 From: intr <15019654+intr-cx@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:14:21 +0200 Subject: [PATCH 1/2] fix dark theme discrepancies --- _sass/custom.scss | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/_sass/custom.scss b/_sass/custom.scss index d640c98..1b583c0 100644 --- a/_sass/custom.scss +++ b/_sass/custom.scss @@ -16,7 +16,7 @@ p.note { } .bcstats p:nth-child(even) { - background-color: #f6f6f6; + background-color: var(--blog-bg-color-secondary); } $breakpoint-alpha: 480px; // adjust to your needs @@ -38,10 +38,10 @@ p.table-title { overflow: hidden; border-spacing: 0; @media (min-width: $breakpoint-alpha) { - background-color: #f0f0f0; + background-color: var(--block-bg-color); color: #45494f; tr.row3 { - background-color: #f6f6f6; + background-color: var(--blog-bg-color-secondary); } } @@ -53,7 +53,7 @@ p.table-title { tr.row1 { - background-color: #45494f; + background-color: var(--block-bg-color-heading); } th { @@ -232,7 +232,7 @@ img#veracrypt { p.address { background-color: var(--block-bg-color); - color: #45494f; + color: var(--primary-color); font-weight: bold; word-wrap: break-word; padding: 1.5rem; From 6f87dd2b444bceafac5124bad0a2e4a01c0ab9c4 Mon Sep 17 00:00:00 2001 From: intr <15019654+intr-cx@users.noreply.github.com> Date: Thu, 31 Mar 2022 16:21:15 +0200 Subject: [PATCH 2/2] include main.scss in fix --- css/main.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/css/main.scss b/css/main.scss index 7c24823..82d1bc3 100644 --- a/css/main.scss +++ b/css/main.scss @@ -39,10 +39,12 @@ :root { --primary-color: #888888; --secondary-color: #666666; - --font-color: #999999; + --font-color: #cecece; --bg-color: #0f0f0f; --heading-color: #454545; --block-bg-color: #2f3234; + --block-bg-color-secondary: #444444; + --block-bg-color-heading: #333333; } [data-theme="dark"] { @@ -52,6 +54,8 @@ --bg-color: #f0f0f0; --heading-color: #666666; --block-bg-color: #d7d7d7; + --block-bg-color-secondary: #c0c0c0; + --block-bg-color-heading: #a5a5a5; } body {