From b1a42f2bf52c2941f82891aaee2298f984445e5d Mon Sep 17 00:00:00 2001
From: dragonwocky <thedragonring.bod@gmail.com>
Date: Fri, 23 Oct 2020 19:41:44 +1100
Subject: [PATCH] #175 neutral theme: contrast in calendar views

---
 CHANGELOG.md            | 2 +-
 mods/core/css/menu.css  | 1 +
 mods/neutral/styles.css | 6 ++++--
 3 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index b4d107d..06ea284 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -36,7 +36,7 @@ a flexibility update.
 - bugfix: toc blocks can have text colours.
 - bugfix: bypass preview extension works with the back/forward keyboard shortcuts.
 - bugfix: (maybe) fix csp issues under proxy.
-- bugfix: remove focus mode footer from neutral theme.
+- bugfix: remove focus mode footer from neutral theme + better contrast in calendar views.
 - bugfix: improvements to the colour theming, particularly to make real- and fake-light/dark
   modes (as applied by the night shift extension) look consistent.
   relevant variables (assuming all are prefixed by `--theme_[dark|light]--`):
diff --git a/mods/core/css/menu.css b/mods/core/css/menu.css
index d9a6b4a..0e1b502 100644
--- a/mods/core/css/menu.css
+++ b/mods/core/css/menu.css
@@ -438,6 +438,7 @@ svg[data-tooltip] {
 }
 .toggle input[type='checkbox'] + label .name {
   flex-basis: calc(100% - 2.25em);
+  margin-right: 0.75em;
 }
 .toggle input[type='checkbox'] + label .switch {
   position: relative;
diff --git a/mods/neutral/styles.css b/mods/neutral/styles.css
index dff7185..c0f8274 100644
--- a/mods/neutral/styles.css
+++ b/mods/neutral/styles.css
@@ -9,9 +9,11 @@
   /** dark **/
 
   --theme_dark--main: #131313;
-  --theme_dark--sidebar: #171717;
+  --theme_dark--sidebar: #161616;
   --theme_dark--overlay: rgba(15, 15, 15, 0.6);
   --theme_dark--dragarea: #111111;
+  --theme_dark--box-shadow: rgba(15, 15, 15, 0.5) 0px 0px 0px 1px,
+    rgba(15, 15, 15, 0.5) 0px 2px 4px;
 
   --theme_dark--font_sans: 'Inter', -apple-system, BlinkMacSystemFont,
     'Segoe UI', Helvetica, 'Apple Color Emoji', Arial, sans-serif,
@@ -36,7 +38,7 @@
   --theme_dark--scrollbar-border: transparent;
   --theme_dark--scrollbar_hover: #373838;
 
-  --theme_dark--card: #171717;
+  --theme_dark--card: #181818;
   --theme_dark--gallery: rgba(105, 105, 105, 0.05);
   --theme_dark--select_input: #1d1d1d;
   --theme_dark--table-border: rgba(78, 78, 78, 0.7);