From 2a6f8502d818f2930a6896c86d8ba6f239ba574c Mon Sep 17 00:00:00 2001 From: bmFtZQ <62812711+bmFtZQ@users.noreply.github.com> Date: Tue, 20 Jul 2021 00:57:39 +0800 Subject: [PATCH] fix colour modifications (fx92) --- chrome/global/variables.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/chrome/global/variables.css b/chrome/global/variables.css index 8300df9..340f62f 100644 --- a/chrome/global/variables.css +++ b/chrome/global/variables.css @@ -2,7 +2,8 @@ :root:not([style]), :root:not(:-moz-lwtheme), :root[style*="--lwt-accent-color:rgb(227, 228, 230); --lwt-text-color:rgba(24, 25, 26);"], -:root[style*="--lwt-accent-color:rgb(240, 240, 244); --lwt-text-color:rgba(21, 20, 26);"] /* Used for Proton (May be changed in future) */ +:root[style*="--lwt-accent-color:rgb(240, 240, 244); --lwt-text-color:rgba(21, 20, 26);"], /* Used for Proton (May be changed in future) */ +:root[style*="--lwt-accent-color: rgb(240, 240, 244); --lwt-text-color: rgba(21, 20, 26);"] /* Mozilla added spaces to the style string in Nightly 91 */ { /* accentcolor */ --lwt-accent-color: #cecece !important; @@ -59,7 +60,8 @@ /* Dark Mode */ :root[style*="--lwt-accent-color:rgb(12, 12, 13); --lwt-text-color:rgba(249, 249, 250);"], -:root[style*="--lwt-accent-color:rgb(28, 27, 34); --lwt-text-color:rgba(251, 251, 254);"] /* Used for Proton (May be changed in future) */ +:root[style*="--lwt-accent-color:rgb(28, 27, 34); --lwt-text-color:rgba(251, 251, 254);"], /* Used for Proton (May be changed in future) */ +:root[style*="--lwt-accent-color: rgb(28, 27, 34); --lwt-text-color: rgba(251, 251, 254);"] /* Mozilla added spaces to the style string in Nightly 91 */ { /* accentcolor */ --lwt-accent-color: #1b1b1b !important; @@ -196,6 +198,9 @@ --arrowpanel-dimmed-further: color-mix(in srgb, currentColor 14%, transparent) !important; --arrowpanel-dimmed-even-further: color-mix(in srgb, currentColor 25%, transparent) !important; + --button-hover-bgcolor: var(--arrowpanel-dimmed) !important; + --button-active-bgcolor: var(--arrowpanel-dimmed-further) !important; + --panelview-toolbarbutton-hover-bgcolor: var(--arrowpanel-dimmed) !important; --panelview-toolbarbutton-active-bgcolor: var(--arrowpanel-dimmed-further) !important; }