From a650d267dc7e7483c9ae672e573d5f7df1d93c34 Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Mon, 29 Mar 2021 23:11:30 +0800 Subject: [PATCH] fix theming issue --- chrome/tabbar/tabbar.css | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/chrome/tabbar/tabbar.css b/chrome/tabbar/tabbar.css index dc0f49c..8df2b3d 100644 --- a/chrome/tabbar/tabbar.css +++ b/chrome/tabbar/tabbar.css @@ -6,12 +6,12 @@ background-color: var(--lwt-accent-color) !important; } -#navigator-toolbox { - background-image: var(--lwt-additional-images) !important; - background-position: var(--lwt-background-alignment) !important; - background-repeat: var(--lwt-background-tiling) !important; - background-color: var(--lwt-accent-color) !important; +:root[lwtheme-image] #navigator-toolbox { + background-image: var(--lwt-header-image), var(--lwt-additional-images) !important; + background-repeat: no-repeat, var(--lwt-background-tiling) !important; + background-position: right top, var(--lwt-background-alignment) !important; } + :root:not([style*="--lwt-accent-color:rgb(227, 228, 230); --lwt-text-color:rgba(24, 25, 26);"], [style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"])[lwtheme] #navigator-toolbox:-moz-window-inactive { opacity: 0.9 !important; }