From 35bbb12524576118e41a18da21da7f756c79565e Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Sat, 24 Oct 2020 13:14:41 +1100 Subject: [PATCH] make dragarea transparent in new themes --- mods/cherrycola/styles.css | 2 +- mods/core/css/theme.css | 1 + mods/dracula/mod.js | 2 +- mods/dracula/styles.css | 5 +++-- mods/material-ocean/styles.css | 2 +- 5 files changed, 7 insertions(+), 5 deletions(-) diff --git a/mods/cherrycola/styles.css b/mods/cherrycola/styles.css index 893e96a..0272928 100644 --- a/mods/cherrycola/styles.css +++ b/mods/cherrycola/styles.css @@ -24,7 +24,7 @@ /* Main */ --theme_dark--main: var(--cola-main); --theme_dark--sidebar: var(--cola-sec); - --theme_dark--overlay: var(--cola-sec); + --theme_dark--overlay: rgba(29, 9, 25, 0.5); --theme_dark--dragarea: #210a1c; --theme_dark--box-shadow: rgba(20, 0, 16, 0.2) 0px 0px 0px 1px, rgba(20, 0, 16, 0.2) 0px 2px 4px; diff --git a/mods/core/css/theme.css b/mods/core/css/theme.css index ad52e80..ab2a6ed 100644 --- a/mods/core/css/theme.css +++ b/mods/core/css/theme.css @@ -28,6 +28,7 @@ .notion-body:not(.dark) [style*='background: rgb(223, 223, 222)'] { background: var(--theme--sidebar) !important; } +.notion-peek-renderer, [style*='background: rgba(15, 15, 15, 0.6)'] { background: var(--theme--overlay) !important; } diff --git a/mods/dracula/mod.js b/mods/dracula/mod.js index cd3668a..249d735 100644 --- a/mods/dracula/mod.js +++ b/mods/dracula/mod.js @@ -1,5 +1,5 @@ /* - * dracula-theme + * dracula * (c) 2020 u/mimi-shahzad * (c) 2020 Dracula Theme * under the MIT license diff --git a/mods/dracula/styles.css b/mods/dracula/styles.css index 4ba2ce2..ff919bb 100644 --- a/mods/dracula/styles.css +++ b/mods/dracula/styles.css @@ -1,6 +1,7 @@ /* - * dracula-theme + * dracula * (c) 2020 u/mimi-shahzad + * (c) 2020 dragonwocky (https://dragonwocky.me/) * (c) 2020 Dracula Theme * under the MIT license */ @@ -8,7 +9,7 @@ :root { --theme_dark--main: #282a36; --theme_dark--sidebar: #21232c; - --theme_dark--overlay: #282a36; + --theme_dark--overlay: rgba(13, 13, 14, 0.5); --theme_dark--dragarea: #20222b; --theme_dark--font_sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', diff --git a/mods/material-ocean/styles.css b/mods/material-ocean/styles.css index e00d769..eef943d 100644 --- a/mods/material-ocean/styles.css +++ b/mods/material-ocean/styles.css @@ -21,7 +21,7 @@ --theme_dark--main: var(--ocean-main); --theme_dark--sidebar: var(--ocean-sec); - --theme_dark--overlay: var(--ocean-sec); + --theme_dark--overlay: rgba(0, 1, 10, 0.5); --theme_dark--dragarea: var(--ocean-sec); --theme_dark--scrollbar: var(--ocean-sec);