From 16f313ea6f9a0e9b34ab49beead2d65351c9461d Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Tue, 26 Oct 2021 11:56:15 +0900 Subject: [PATCH] Fix: System Default Theme - Sidebar Background Color at lwtheme dark --- userChrome.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userChrome.css b/userChrome.css index b6f97ce..ea3d01a 100644 --- a/userChrome.css +++ b/userChrome.css @@ -434,7 +434,7 @@ .sidebar-panel[style="--newtab-background-color: rgb(43, 42, 51); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"], /* Nightly */ body[lwt-sidebar][style="--newtab-background-color: rgb(43, 42, 51); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"] { /* Only darkmode has more: --newtab-background-color-secondary: rgba(66, 65, 77, 1); */ - --lwt-sidebar-background-color: var(--win-sidebar-bgcolor) !important; + --lwt-sidebar-background-color: transparent !important; --lwt-sidebar-text-color: var(--win-text-color) !important; } } @@ -707,7 +707,7 @@ .sidebar-panel[style="--newtab-background-color: rgb(43, 42, 51); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"], /* Nightly */ body[lwt-sidebar][style="--newtab-background-color: rgb(43, 42, 51); --newtab-text-primary-color: rgba(251, 251, 254, 1); --lwt-sidebar-background-color: rgb(56, 56, 61); --lwt-sidebar-text-color: rgba(249, 249, 250, 1);"] { /* Only darkmode has more: --newtab-background-color-secondary: rgba(66, 65, 77, 1); */ - --lwt-sidebar-background-color: var(--mac-sidebar-bgcolor) !important; + --lwt-sidebar-background-color: transparent !important; --lwt-sidebar-text-color: var(--mac-text-color) !important; } }